Jump to content

ClaireWalters

Member
  • Posts

    33
  • Joined

  • Last visited

Posts posted by ClaireWalters

  1. The solution to this was to add this line to the ini.inc.php file

    ini_set('mysqli.default_socket', '/tmp/mysql5.sock'); // Needed for 1&1 managed servers

    I can't thank Bsmither enough for all his help!

    edit to add:  I'm using a managed dedicated server.  I'm sure this fix will work with shared servers as well.  unmanaged dedicated servers at 1and1 - admins should be able to change the settings on the servers without needing this edit.  

    When I ran the CC v6 setup.  I entered  localhost in the field where it asked for hostname. 

  2. 9 minutes ago, bsmither said:

    For the Hostname, please enter simply localhost. For the database name, simply the sequence that starts with d. For Username, simply the sequence that starts with d. And you have your password.

    Now, please edit the post above to remove the access credentials. The world does not need to see those.

     

    I've done it several times and keep getting the same error message

    I even changed the password to the database to make sure I was typing it correct

     

     

     

  3. We can hope. Although, the errors reported during the last attempt certainly suggested that the database server (or some sort of "shared hosting throttle") deemed the connection too aggressive -- or something along those lines -- and cut you off.

    Upgrading to CC5217 before attempting CC6 might not give you any better likelihood of success.

    I'm not going to try upgrade to ver6 till at least tmwr.  I'll report back either way to update on how it works or doesnt work

    now I see this message in the top of the admin panel.  not sure if I can correct that?  or hoping a successful upgrade will fix.  

    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /homepages/2/d107205780/htdocs/geekhostess/badass-supplements/classes/db/mysql.class.php on line 24

     

     

  4. "If I try to switch to php ver 5.5 now (with CC ver 5) the site goes blank. "

    Please let us know if you have any third-party modules that use ionCube. If so, there will be difficulties.

    I have ioncube - but not sure if I have third party mods active anymore. It doesn't look like there's any 3rd party mods anymore.  However, I just renamed the ioncube folder /disabled it - then tried opening the site and got this message.  So the site needs ioncube.

    Site error: the file /homepages/2/d107205780/htdocs/geekhostess/badass-supplements/index_enc_ion.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

     

    The ionCube decoder has versions that supposedly match the version the encoded file was encoded for with the version of PHP it is running under. That is to say, for example, if script.php was encoded with ionCube-v2, you will need to have the server be installed with the ionCube decoder for PHP 5.5 that can decode ionCube-v2 files. It gets somewhat tricky.

    If you haven't already, please download the latest package of the CC5 family. From that package, upload and replace only these files: admin.php and index.php. This will bypass using the ionCube encoded files that perform the licensure checks.

    should I upgrade to the newest ver 5 first?  if that works then try to go to 6?
    If not - are you referring to the admin & index files that reside in the root folder?

    Thank you for the reply!

     

     

  5. Hello - I'm hoping someone might have a possible solution.  

    I have a site that I'm attempting to upgrade to the newest CC v6
    The site has been upgraded in the past -- it started out as ver3 I believe all the way up to where it is now at ver 5.1.5

    I followed instructions by uploading the files from the ver6 package over the existing files/folders.  It gets about 75% thru the setup and then throws this message.

    Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2005): Unknown MySQL server host 'localhost:/tmp/mysql5.sock' (1) in /homepages/2/d107205780/htdocs/geekhostess/badass-supplements/classes/db/mysqli.class.php on line 30

    Warning: mysqli_options() [function.mysqli-options]: Couldn't fetch mysqli in /homepages/2/d107205780/htdocs/geekhostess/badass-supplements/classes/db/mysqli.class.php on line 32

    Fatal error: Unknown MySQL server host 'localhost:/tmp/mysql5.sock' (1) in /homepages/2/d107205780/htdocs/geekhostess/badass-supplements/classes/db/mysqli.class.php on line 35

    I looked in this file & 2 out of 3 of these lines are blanks.
    After these error - I delete the site files & upload my backup & restore the database and the site works fine. 

    The database tables are named "cc5-name-of-table"  in case that matters for this upgrade

    Question #2..
    after a successful upgrade I need to switch the php setting to use php ver 5.5.  Hope this CC6 ver works with php 5.5? 

    If I try to switch to php ver 5.5 now (with CC ver 5) the site goes blank.  
    Instead of upgrade is there a way to force this CC ver to work with php 5.5?

    Lots of questions - any suggestions as to what is the best direction to attack this is appreciated.  

    Thanks in advance
    - Claire

     

     

     

  6. Thank you for the update!

    I just called the customer service line - after many hours of trying and not being able to get through I finally got in....

    They confirmed there is a problem ("server down") and they are aware of the problem and are working on it. They had no idea when it would be functional again, but said "try it again tomorrow"

  7. Works for me!

    Thanks AL & all who worked on this

    I have a client who is still with a ver3 CC due to so many customization I never upgraded them. I had USPS variable rates working.. then just was notified by the client their customers were getting errors

    Well Iw as getting thos weird XML errors.

    I used AL T's zip files - followed the instructions

    tested and its working great! :yeahhh:

  8. You can do this for individual products, in general settings set "Allow out of stock purchases?" to No and then edit the product, set the "product stock level" to 0 and "use stock level" to Yes. The add to basket button is removed.

    thank you - but it shows the wording "Out of stock"

    I'd need to remove that wording

    I figured it out.

    I edited the viewcat.inc.php & viewprod.inc.php and changed the out of stock wording to a dot

  9. You can do this for individual products, in general settings set "Allow out of stock purchases?" to No and then edit the product, set the "product stock level" to 0 and "use stock level" to Yes. The add to basket button is removed.

    thank you - but it shows the wording "Out of stock"

    I'd need to remove that wording

  10. :yeahhh: We got it working! :yeahhh:

    There were a ton of contradicting issues involved and I must say even though I am not qualified for tech support that the cubecart support team has been WONDERFUL in helping me sort this issue out!

    They spent 3 days trying to figure out the issue. It's a cross between my server and me.

    I cannot begin to let you all know what wonderful people the techies are in the cubecart organization!

    I hope to put a tutorial out on gift certificates for this as appreciation for their tireless efforts.

    I have 4.2.0 installed - will be upgrading soon.

    Does 4.2.2 fix this problem.??

    I too just tested and did not received a gift card code

    have you posted a tutorial fix for this?

    thank you!

×
×
  • Create New...