4uh Posted September 28, 2008 Share Posted September 28, 2008 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 ? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted September 28, 2008 Share Posted September 28, 2008 Try re-uploading those files in binary mode may help 0 Quote Link to comment Share on other sites More sharing options...
4uh Posted September 28, 2008 Author Share Posted September 28, 2008 Hi, Thanks for the suggestion but theres nothing wrong with the files. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted September 28, 2008 Share Posted September 28, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
4uh Posted September 28, 2008 Author Share Posted September 28, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted September 28, 2008 Share Posted September 28, 2008 Is there an error in your error_log? or Is there an error_log file in the templates_c folder? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 28, 2008 WHMCS CEO Share Posted September 28, 2008 Check your System URL & System SSL URL values in General Settings. The issue you're experiencing indicates either both urls are set the same or the SSL URL is not working. Matt 0 Quote Link to comment Share on other sites More sharing options...
4uh Posted September 28, 2008 Author Share Posted September 28, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.