bilberh

Registered
Feb 5, 2015
4
0
1
cPanel Access Level
Root Administrator
Hello,
I've just installed Cpanel to my VPS server, and there is a problem with one my site. Please help me to fix it.

File permissions are 755 for directories and 644 for files
Using Suexec and PHP configuration(default on WHM)
Problem:
One of my site: domain.com is not loading the slider in the homepage as well as the twitter feeds on every page.
When I changed the folder permission to 777, the slider as well as twitter feed was worked, but it's very risky to give 777 permission as you know. I changed the permissions to 755, and the problem started.
What to do to fix this issue ?
Regards,
Sakeer.
 
Last edited by a moderator:

bilberh

Registered
Feb 5, 2015
4
0
1
cPanel Access Level
Root Administrator
Hi Infopro,
I only see the following error:
Code:
[Thu Feb 05 18:53:10 2015] [error] [client 117.245.45.53] File does not exist: /home/opsotech/public_html/images/backgrounds/68.png, referer: http://domain.com/style.css
[Thu Feb 05 18:52:23 2015] [error] [client 117.245.45.53] File does not exist: /home/opsotech/public_html/images/backgrounds/68.png, referer: http://domain.com/style.css
[Thu Feb 05 18:04:49 2015] [error] [client 117.245.45.53] File does not exist: /home/opsotech/public_html/images/backgrounds/68.png, referer: http://domain.com/style.css
[Thu Feb 05 16:57:11 2015] [error] [client 64.233.173.139] File does not exist: /home/opsotech/public_html/main/logo.jpg
and that's normal, as I didn't uploaded the said files in image folder.
What else to look into ?
Regards,
Sakeer
 

bilberh

Registered
Feb 5, 2015
4
0
1
cPanel Access Level
Root Administrator
Hi Infopro,
Everything looks fine and folder permission set to 755 and file permission to 644, I've double checked that, but still have the same issue. Is there anything I need to check in the tewak settings ? or need to check the ownership of the files and folders? if yes hoe to do that ?
Regards,
Sakeer.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
You should be able to check permissions via the cPanel File Manager. If the site itself is working as expected, then you're down to the twitter and slider mod to check into a bit closer. This sounds to me to be a site issue not a cPanel issue though.

If you suspect it to be a cPanel issue, please feel free to open a ticket directly to your Hosting Provider or cPanel Technical Support.
 

bilberh

Registered
Feb 5, 2015
4
0
1
cPanel Access Level
Root Administrator
Hi Infopro,
Actually I was in another cPanel powered server and the site was running fine with the same settings, [removed] you can see the site still not removed, but pointed to my new server.
No changes I've made to the code or any line of scripts, in the old server it was under a subdomain called main. inthe new server in both public_html folder and sub folder /main also have the files.
I don't think it is due to site issues, but any mis-configuration may caused the issue (I think, and am not very well in cpanel tweaking) DO you think I need to check any specific option to run PHP Susexc module to work the folder as having 777 permission ?
I think it's better to post a ticket as you said.

Regards,
Sakeer.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Check to verify you are using the same PHP handler on the destination server:

"WHM Home » Service Configuration » Configure PHP and suEXEC"

Thank you.