Jump to content

Fresh install, some pages wont load..


4uh

Recommended Posts

I just performed a new install so I can have a look at this new version and everything went fine. I've run through the install, set my permssions and gone through the general config in the admin area.

 

When I try and display any of the following pages It just sits there waiting for the page to load...

 

clientarea.php

cart.php

supporttickets.php

submittickets.php

contact.php

cart.php

register.php

 

No idea whats up with it. I'm not new to installing this kind of application so its got me pretty stumped.

 

Other pages such as the domain checker, knowledgebase, announcements are coming up fine. I've had a previous version of WHMCS running form this same account until recently and that worked ok.

 

I'm running apache 2 with php 5.2.6 and suphp.

 

Any ideas ?

Link to comment
Share on other sites

Using suphp.... try chmod your templates_c folder back to 0755 as well as any other folders you changed to 0777

 

What does suPHP Do?

777 Permissions

With non- suPHP configurations, PHP runs as an Apache Module it executes as the user/group of the webserver which is usually "nobody", "httpd" or "apache". Under this mode, files or directories that you require your php scripts to be able to write to need 777 permissions (read/write/execute at user/group/world level). This is not very secure because it allows the webserver to write to the file, it also allows anyone else to read or write to the file.

Under suPHP configurations, PHP running as a CGI with "suexec" enabled (su = switch user, allowing one user to "switch" to another if authorized) - Your php scripts now execute under your own user/group level. Files or directories that you require your php scripts to be able to write to no longer need to have 777 permissions. In fact, 777 permissions are no longer allowed, having 777 permissions on your scripts or the directories they reside in will not run and will instead cause a "500 internal server error" when attempting to execute them, this is done to protect you from someone abusing your scripts. Your scripts and directories can now, only have a maximum of 755 permissions (read/write/execute by you, read/execute by everyone else).

A little more info

Troubleshooting, something went wrong

My php script doesn't work or I have an error message.

1. Check that the php script that you are attempting to execute has permissions of no more than 755 - 644 will work just fine normally, this is not something that will need to be changed in most cases.

2. Check that the directory permissions that the script resides within is set to a maximum of 755. This also includes directories that the script would need to have access to also.

3. Check that you do not have a .htaccess file with php_values within it. They will cause a 500 Internal server error, when attempting to execute the script.

The php_values will need to be removed from your .htaccess file and a php.ini put in its place, containing the php directives as explained above.

Link to comment
Share on other sites

I appreciate your suggestions but its not a file permission problem.

 

Please assume I've already been through the basic steps to troubleshoot the issue. I wouldnt post in the forum if the problem was as simple as file permissions. If the permisisons were not correct, I would get errors rather than it just sitting there trying to execute the file.

 

suphp_log continually repeats...

 

[info] Executing "/home/username/public_html/clientarea.php" as UID 32006, GID 32008

 

...until I stop the browser from trying to load the page. It never times out, just keeps on going.

Link to comment
Share on other sites

Hi Matt,

 

Both are set to the same currently. I've set the ssl url to the same as the normal url because I'm just testing and there is no cert installed right now.

 

What should I set it to while testing without a cert?

 

EDIT

 

Oh, I notice is says quite clearly - "leave blank for no ssl".

 

Apologies for wasting your time! Its working fine now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated