Page 1 of 1

customer error

Posted: Fri May 12, 2017 2:33 pm
by sgaeron@hotmail.com
Hi ,
I cant seem to get in to customer details , this is the error message :
Notice: session_start(): ps_files_cleanup_dir: opendir(/shared/sessions) failed: Permission denied (13) in /mounted-storage/home159/sub023/sc84717-BEND/system/library/session.php on line 38

Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /mounted-storage/home159/sub023/sc84717-BEND/admin/controller/customer/customer.php on line 1105


so whats that ?!

Re: customer error

Posted: Fri May 12, 2017 9:07 pm
by MrPhil
These sound like two unrelated errors. Has anything been done to your store or to your server recently? Any evidence that files have been modified without your knowledge?
sgaeron@hotmail.com wrote:
Fri May 12, 2017 2:33 pm
Notice: session_start(): ps_files_cleanup_dir: opendir(/shared/sessions) failed: Permission denied (13) in /mounted-storage/home159/sub023/sc84717-BEND/system/library/session.php on line 38
Check your directory and file permissions and see if anything looks odd. Did your host just make a change to server settings for security reasons? Is PHP running as owner (you) or in group or other?
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /mounted-storage/home159/sub023/sc84717-BEND/admin/controller/customer/customer.php on line 1105
That sounds like maybe a file was damaged, either by a system problem or by a hack. You didn't just do anything to edit a file, did you? List customer.php lines 1085 through 1115 (and highlight which one is 1105) and maybe someone can spot something.

Re: customer error

Posted: Mon May 15, 2017 11:50 pm
by sgaeron@hotmail.com
MrPhil wrote:
Fri May 12, 2017 9:07 pm
These sound like two unrelated errors. Has anything been done to your store or to your server recently? Any evidence that files have been modified without your knowledge?
sgaeron@hotmail.com wrote:
Fri May 12, 2017 2:33 pm
Notice: session_start(): ps_files_cleanup_dir: opendir(/shared/sessions) failed: Permission denied (13) in /mounted-storage/home159/sub023/sc84717-BEND/system/library/session.php on line 38
Check your directory and file permissions and see if anything looks odd. Did your host just make a change to server settings for security reasons? Is PHP running as owner (you) or in group or other?
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /mounted-storage/home159/sub023/sc84717-BEND/admin/controller/customer/customer.php on line 1105
That sounds like maybe a file was damaged, either by a system problem or by a hack. You didn't just do anything to edit a file, did you? List customer.php lines 1085 through 1115 (and highlight which one is 1105) and maybe someone can spot something.
How to fix that !?

Re: customer error

Posted: Tue May 16, 2017 5:10 am
by MrPhil
Notice: session_start(): ...
You will have to go into your hosting control panel and look at the directory and file permissions, and see if anything seems amiss (different permissions than on the rest of the system). If you have no idea what to look for, you'll have to either hire someone or get support from your host (possibly for a fee). Since this is an "opendir" failure, your host may have just changed some security setting, or someone (a hacker?) altered your server setup to deny you access.

Parse error: syntax error...
You will have to go into the hosting control panel and look at the file. It may have gotten chopped off in the middle, or corrupted. It would be best if you have a good backup of the file to compare it against. Again, if you have no idea what's going on, you'll have to have someone help you.