Permission error 2 days after installing trial

Guys,



2 days after installing a trial of the current stable version, I am getting the error message attached. I had this issue one time before, and since I didn’t have anything worth saving in the store, I decided to re-install. Permissions have not changed on the server at all, so please help me out with this one.



Thanks in advance.

cs-cart issue.jpg

[quote name=‘remotetechs’]Guys,



2 days after installing a trial of the current stable version, I am getting the error message attached. I had this issue one time before, and since I didn’t have anything worth saving in the store, I decided to re-install. Permissions have not changed on the server at all, so please help me out with this one.



Thanks in advance.[/quote]

Did you “re-install” the cart? Went the installation process ok? Is that the installation message or of currently installed cart?

[quote name=‘indy0077’]Did you “re-install” the cart? Went the installation process ok? Is that the installation message or of currently installed cart?[/QUOTE]



Actually I purged the DB and re-installed CS-Cart completely from scratch. The installation progress went very well and I’ve been testing with it and PayPal Sandbox for the whole time, no issues.

[quote name=‘remotetechs’]Actually I purged the DB and re-installed CS-Cart completely from scratch. The installation progress went very well and I’ve been testing with it and PayPal Sandbox for the whole time, no issues.[/quote]

Alright, good luck…

[quote name=‘indy0077’]Alright, good luck…[/QUOTE]



I don’t think I explained myself well enough. I was trying to say that I re-installed a few days ago and have been testing with it since, even today, and it’s only now that the error has come up, without me changing anything on the server where CS-Cart is hosted.

Did you check the error path? Is that path right and the folder really exist …/var/compiled/customer/ and has it e.g. 777 permission?

[quote name=‘indy0077’]Did you check the error path? Is that path right and the folder really exist …/var/compiled/customer/ and has it e.g. 777 permission?[/QUOTE]



I have just given 777 permission to the entire “var” folder and still no result. I also just checked the lines in the respective files and can’t spot any issue.

[quote name=‘remotetechs’]I have just given 777 permission to the entire “var” folder and still no result. I also just checked the lines in the respective files and can’t spot any issue.[/QUOTE]



The var folder should have already had the permissions set to 777 if you did the installation correctly. The following permissions are required for installation and operation:



666 config.local.php (644 after installation)

777 catalog

777 images

777 skins

777 var

[quote name=‘adodric’]The var folder should have already had the permissions set to 777 if you did the installation correctly. The following permissions are required for installation and operation:



666 config.local.php (644 after installation)

777 catalog

777 images

777 skins

777 var[/QUOTE]



I just checked and chmodded all those folders with the indicated permissions and I’m still getting the same thing.



I can PM you the domain name so you can see the error yourself if you want.

Try to delete all files in /cache/ and all folders + files in /var/ folder and clear your browser cache as well.

[quote name=‘indy0077’]Try to delete all files in /cache/ and all folders + files in /var/ folder and clear your browser cache as well.[/QUOTE]



Also delete all of the files and folders in the compiled folder.

Try to create a fake index.php file to see if it shows up.

You may not have a DSO type of PHP, which if this is the case your permissions will differ. Please read over the following threads for more information:



[URL=“http://forum.cs-cart.com/showthread.php?t=15444&highlight=permissions”]http://forum.cs-cart.com/showthread.php?t=15444&highlight=permissions[/URL]



[URL=“http://forum.cs-cart.com/showthread.php?t=15083&highlight=security”]http://forum.cs-cart.com/showthread.php?t=15083&highlight=security[/URL]



[URL=“http://forum.cs-cart.com/showpost.php?p=63610&postcount=4”]http://forum.cs-cart.com/showpost.php?p=63610&postcount=4[/URL]



[URL=“http://forum.cs-cart.com/showpost.php?p=69788&postcount=5”]http://forum.cs-cart.com/showpost.php?p=69788&postcount=5[/URL]

Seems like something is happened on your server. It might be the ownership problem of the file or the server is running in safe mode



Did you contact your hosting provider?

[quote name=‘adodric’]You may not have a DSO type of PHP, which if this is the case your permissions will differ. Please read over the following threads for more information:



[URL]http://forum.cs-cart.com/showthread.php?t=15444&highlight=permissions[/URL]



[URL]http://forum.cs-cart.com/showthread.php?t=15083&highlight=security[/URL]



[URL]http://forum.cs-cart.com/showpost.php?p=63610&postcount=4[/URL]



[URL]http://forum.cs-cart.com/showpost.php?p=69788&postcount=5[/URL][/quote]

That’s true, but he said the site was working and that issue can’t happened from nothing. I guess they have changed something on the server.

[quote name=‘adodric’]Also delete all of the files and folders in the compiled folder.[/QUOTE]



I have deleted all contents of ./var/ which sums up to all recommendations from both of you, and have cleared my browser cache and cookies.



After reloading the site, I get the same error, although the cache and compiled folders have been recreated under ./var/.

[quote name=‘indy0077’]That’s true, but he said the site was working and that issue can’t happened from nothing. I guess they have changed something on the server.[/QUOTE]



True, it was working this very afternoon (by Spanish time). I’ll check the safe mode setting. I did specifically change it before installing as I am aware is a very unsafe configuration, so I don’t understand how it could’ve changed back, but I will check.

Guys, it’s the safe mode. I have changed it before installing as mentioned, but it was back to ON. I have changed it back to off for all my subdomains, including cs-cart and it works now.



Many thanks for your great help!



P.S. I have just learned that the file where I am changing the safe mode setting is being overwritten by Plesk, since this is what I’m using as my hosting solution.



I have found a fix for that for Plesk users, in order to have these settings be persistent.



Here’s the link for the fix, in case this can help anybody else with the same issue:



[url]http://mswebnetwork.net/helpdesk/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=76&nav=0,4,10[/url]



Many thanks again!

I was guessing that you do use Plesk…