Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by mayhem69

  1. Are there custom skins i can use?  I received a couple negative feedbacks regarding the look of my site.  Now im thinking they may be right!

    The main reason i chose the Kurouto skin is because it shows all my products with no text overlaps.  Out of the skins in my admin this is the

    only one i can use!  I just am not happy with the look of my site, i think i can get more sales if it was looking better.

  2. 45 minutes ago, Dirty Butter said:

    I've figured out part of the problem - there are several installs, one at root, another at store, and another in another directory. You were looking in the wrong place for the re-named admin folder and file, and then you made the edits I had suggested to admin folder/file in the wrong directory.

    Also, FYI the apparently working files were installed with Softaculous.

    Waiting on @mayhem69 to attempt a login to newly renamed admin to see what happens.

    YES and thank you DB!!, i can now login to my admin.  thank you for your help!  Have a great New Year!

  3. 8 hours ago, Dirty Butter said:

    When you are ready to work on it again, edit ini.inc.php in the store directory. Change the CC 6.1.1 version somewhere around line 49 to the version you were upgrading from.

    /************* CUBECART SPECIFIC SETTINGS *************/
    define('CC_VERSION', '6.1.1');     // Version Number

    If you haven't already, it would be a good idea to make a backup of your store files and your database.

    Then run setup again. Be sure you write down the newly re-named admin folder and admin.php file names (there should be a caution near the end of the install with the new names), BUT DO NOT WRITE THEM INTO ANY COMMENTS YOU MAKE ON THIS FORUM.

    ok, i looked at the line you were referring to and see this:


    /************* CUBECART SPECIFIC SETTINGS *************/
    define('CC_VERSION', '5.1.5');    

    So i dont know if this is the version i installed or what?  I need someone to go in to my server and fix this for me before

    i really screw something up!

  4. 27 minutes ago, Dirty Butter said:

    In cpanel look in the MySQL database section to see what goes in dbdatabase. I do NOT have a prefix and chances are you don't either. I don't know exactly what a database name with a prefix looks like.

    It sure would help if you could find an old backup of global.inc.php as you could get the info from there.

    I started to suggest you try setup again, but I didn't have any confidence in my understanding. But if Bsmither says to do it - that may be better than trying to get this includes file fixed.

    I cannot find the MySql section.  How do i run setup again?

  5. 49 minutes ago, Dirty Butter said:

    All these lines need YOUR info in them:

    $glob['dbdatabase'] 	= '';			// Database name e.g. cubecart 
    $glob['dbhost'] 		= '';			// Database server hostname e.g. localhost (Can be domain or ip address)
    $glob['dbprefix'] 		= '';			// Table prefix e.g. store_1_ (handy for multiple stores in one database)
    $glob['dbusername'] 	= '';			// Username that has access to the database
    $glob['dbpassword'] 	= '';			// Password for username above.
    $glob['installed'] 		= '0';			// Set to 1 if store is installed. Prevents setup redirect.
    $glob['adminFolder'] 	= 'admin';		// Change this if you have changed the admin folder name
    $glob['adminFile'] 		= 'admin.php';	// Change this if you have changed the admin file name
    $glob['cache'] 			= 'file';		// Cache in use can be (apc, file, memcache, memcached, redis, xcache)


    omg, no i did not do this!

    ok, i filled in the lines, still 404 error for admin.  I just put Cubecart 1.1 for the database, is this good?

    also, what do i put here ---

    $glob['dbprefix'] 		= '';			// e.g. store_1_ prefixed on to table names

    also i dont have this line in my global.inc.php

  6. 2 minutes ago, Dirty Butter said:

    Whatever you wrote here:

    $glob['adminFolder'] 	= 'admin';		// Change this if you have changed the admin folder name
    $glob['adminFile'] 		= 'admin.php';	// Change this if you have changed the admin file name

    should MATCH the names of the adminFolder and the adminFile in your ffolder/file naming. Then use YOUR name for admin.php to login at

    http://www.unionshirtsupply.com/store/YOUR NAME FOR ADMIN.PHP

    Be sure the re-named admin.php ends with php.

    Ok, i guess i did something wrong, my folder is named my_admin_section, and i named the file my_admin_file.php.  This is what i pasted on those 2 lines.  When i go to the new admin url, states 404 not found error.


  7. 21 minutes ago, bsmither said:

    Having manually renamed the administration folder as admin, and the administration script as admin.php, from whatever they happen to have been named after the upgrade to CC611, you must now use those same names in the file /includes/global.inc.php. (Not the -dist version. CubeCart does not use the -dist version. It is there to assist and inform the human who installs Cubecart.)

    So, please actually edit that file. The places where you need to code those new names should be apparent.

    ok , i was trying to edit that file, but cannot succeed.  Why does the size of file say 0 bytes?

  8. 4 minutes ago, Dirty Butter said:

    I used to use an FTP client that would not save the global.inc.php file when I edited it, no matter what the permission was set to. I had to change the permission from within the cPanel FileManager. Do you have some kind of hosting access to the folders? If so, try it from there.

    i am doing this in my cpanel, i have 2 global.inc.php folders , the other one is global.inc.php-dist. Are you stating i edit one of these files?

    I opened up the .php-dist, and saw where i think i edit, it states

    $glob['adminFolder'] 	= 'admin';		// Change this if you have changed the admin folder name
    $glob['adminFile'] 		= 'admin.php';	// Change this if you have changed the admin file name
  9. 1 hour ago, Dirty Butter said:

    The same level of folders that has the re-named admin.php file has a folder named includes. You will find the global.inc.php file there. You have to change the permission to allow you to save edits to this file. Make sure the names in global.inc.php and your folder/file are identical to what you re-named them to. They don't have to be the same - the folder could be ham and the file eggs.php. Then change the permission of the global.inc.php file back to 444.

    Ok now your talking a little bit above my level.  I did find the folder and found the global.inc.php file.  I clicked the change permissions, it showed a screen with 6 4 4, i clicked change permissions.  I still cannot edit the file?  What do i do next?  

  10. Hi ,  i just did the auto upgrade tab in the admin panel.  After upgrade when i try to reconnect to the admin i get a 404 NOT FOUND error.  

    The requested URL /store/admin.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    After searching i discovered this is a problem.  I already named my admin folder and the admin.php file.  Now i cannot find the includes/global

    file that is mentioned.  Please help! Im a noob!


  11. Hi professional cubecarters, got a call from a customer trying to place an order saying site is down.  Im getting this error

    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 30

    Warning: mysql_connect(): The server requested authentication method unknown to the client [mysql_old_password] in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 30

    Warning: mysql_connect(): The server requested authentication method unknown to the client in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 30

    Fatal error: The server requested authentication method unknown to the client in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 31

  • Create New...