I’m running CS Cart 2.0.6, and receive the orange upgrade message when I login to my admin panel.
When I click on the Please update now link I received a completely blank page with only
Invalid mode
in the top left. The address seems to be correct, with admin.php?dispatch=upgrade_center.manage in there.
Has anyone else come across this, or knows any solution?
Thanks.
Check if all folders have right permissions and the upgrade folder too. If yes, then it might be something with php version.
Thanks for the response.
I’ve tried that, and all files and folders are now 755. I’m still getting the same error message
I’ll see if the Helpdesk has any suggestions.
Thanks again.
[quote name=‘guyrotberg’]Thanks for the response.
I’ve tried that, and all files and folders are now 755. I’m still getting the same error message
I’ll see if the Helpdesk has any suggestions.
Thanks again.[/quote]
If all files and orders have 755 thats wrong.
Files should be 644
Folders 755 except some folders
Please take a look here [URL]http://forum.cs-cart.com/showthread.php?t=14898[/URL]
[quote name=‘indy0077’]If all files and orders have 755 thats wrong.
Files should be 655
Folders 755 except some folders
Please take a look here [url]http://forum.cs-cart.com/showthread.php?t=14898[/url][/QUOTE]
Files should be 644, not 655. I have even set files on my .php files to 600 but this depends on the way PHP is run on the server.
Bob
[quote name=‘jobosales’]Files should be 644, not 655. I have even set files on my .php files to 600 but this depends on the way PHP is run on the server.
Bob[/quote]
Sorry, it was a typo, sure 644. *Updated
But he has a upgrade problem so 600 will not solve his problem.
Still no luck after redoing permissions, I’m afraid. The trouble is I have no idea where the ‘Invalid mode’ error comes from. PHP? MySQL? Something within CS Cart?
I’ve opened a Helpdesk ticket to see if they have any insight.
Thanks again.
[quote name=‘guyrotberg’]Still no luck after redoing permissions, I’m afraid. The trouble is I have no idea where the ‘Invalid mode’ error comes from. PHP? MySQL? Something within CS Cart?
I’ve opened a Helpdesk ticket to see if they have any insight.
Thanks again.[/quote]
If so, I guess it’s PHP problem on your server.
I am trying to upgrade my version also, but get the following message :
The following files do not have write permissions. You need to set these permissions manually or use FTP to access the files (if not used already)
… and loads of files listed. Does this mean I need to change these files permissions to 777? And do I need to do it one by one?
It probably mean both the ownership and permissions are wrong. Contact your hosting provider and have them help you get it set up right for your server environment.
Thanks Tbirnseth, I have told my hosting provider about this, hopefully they can sort it out.
I still don’t understand why I am getting a whole list of errors when I try to upgrade.
The files which CS Cart says does not have neccessary file permissions are in the js, payments, schemas, core, controllers & addons directories, and these files are set to permission 644, and the folders they are in are set to 775.
I am running on an Apache server, and have been told that I only need 777 permissions on images, skins & var, and 666 permission on config.local.php, and that all the other folders should be set to 755, and files should be 644. Surely I shouldn’t have to set the permissions on all these folders & files within to 777?
Could this be a problem with CS Cart somehow not being the ‘owner’ of these folders & files?
Then it is the ownerships that are wrong. Your host should be able to set all the ownerships on your site correctly.
The ownership of the files needs to run as whatever the PHP process runs as. PHP needs to be able to write to the files/directories.
Fixed
[quote name=‘Compact Discount’]Fixed[/QUOTE]
Mind posting what you did to fix? Would help others.
What part has been fixed, and how?
Regarding my upgrade problem, the server engineer has said that ownership permissions are correct, they are the standard permissions and set by the control panel. If he changes anything in default owner permissions, my website will stop working.
At present I am running CS Cart on Plesk 8.3, could this be a reason for the problem?
Plesk is just another administration panel and should not be an issue.
Since we don’t know what mode your PHP is running in there’s no way to advise. If PHP is in DSO mode, it should be 777/666 if running in fast_cgi or suPHP then they should be 755/644.
The ownerships should be the user_id that PHP runs as so it can overwrite all the files in your store.
Thanks, I have passed this on to the server engineer to find out.