Endorphine Posted April 1, 2010 Share Posted April 1, 2010 (edited) Hello, I have acquired WHMCS recently, all is okay, license is registered, all is working, Ioncube is working because I can load pages etc etc. The problem is when I try to access configgeneral.php (alias Setup>General Settings), It make me go to a white page (in Apache2 Logs I see access to the page without any errors). What's going on ? I already tried to downgrade Ioncube version but without any success. EDIT: Display_errors show me nothing ! Best regards, Thomas / Endorphine Edited April 1, 2010 by Endorphine 0 Quote Link to comment Share on other sites More sharing options...
Endorphine Posted April 1, 2010 Author Share Posted April 1, 2010 (edited) Here are the modules loaded into PHP EDIT : PHP is outputing that : /usr/local/ioncube# php /var/www/ieditedthepathforsecurity/admin/configgeneral.php PHP Warning: main(../dbconnect.php): failed to open stream: No such file or directory in /var/www//ieditedthepathforsecurity/admin/configgeneral.php on line 0 PHP Warning: main(../dbconnect.php): failed to open stream: No such file or directory in /var/www//ieditedthepathforsecurity/admin/configgeneral.php on line 0 PHP Fatal error: main(): Failed opening required '../dbconnect.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www//ieditedthepathforsecurity/admin/configgeneral.php on line 0 Edited April 1, 2010 by Endorphine 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 1, 2010 Share Posted April 1, 2010 First off add $display_errors=true; to your configuration.php file to see the error. By a guess you are useing php V5.3 with the old ioncube loaders. if so either update the ioncube loaders or drop back to php V5.2.x 0 Quote Link to comment Share on other sites More sharing options...
Endorphine Posted April 1, 2010 Author Share Posted April 1, 2010 Hello Sparky, Thanks for the answer, actually i'm using ionCube 5.3 loaders zeus:/usr/local/ioncube# php ioncube-encode* This file has been successfully decoded. ionCube Loaders are correctly installed They are working. Even with display_errors in php.ini = on + WHMCS config file "display_errors" true, page stays blank but the output I get in command line is written in my last post. Cheers 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 1, 2010 Share Posted April 1, 2010 Ahh sorry, I didn't read that. The error says Failed opening required '../dbconnect.php' so it is saying the the dbconnect.php file is not in the directory 1 back from your admin directory Possibly still to do with php V5.3 you probably should still drop back to V5.2 0 Quote Link to comment Share on other sites More sharing options...
Endorphine Posted April 1, 2010 Author Share Posted April 1, 2010 But dbconnect.php is present in 1 directory back :-/ Mystery ... 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 1, 2010 Share Posted April 1, 2010 As sugested... Possibly still to do with php V5.3 you probably should still drop back to php V5.2 0 Quote Link to comment Share on other sites More sharing options...
Endorphine Posted April 1, 2010 Author Share Posted April 1, 2010 Yeah currently using Debian Squeeze (6) Switching on Lenny, maybe it will solve the problem I'll keep you informed 0 Quote Link to comment Share on other sites More sharing options...
Endorphine Posted April 2, 2010 Author Share Posted April 2, 2010 Switched back to Lenny and PHP 5.2, working now Thank you ! 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 2, 2010 Share Posted April 2, 2010 No Problem... I will be keeping mine at 5.2.13 for quite a while yet or until it is more stable. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 2, 2010 Share Posted April 2, 2010 php 5.3 is very unstable right now -- I have been reading on blogs that people are having a hard time with it. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 2, 2010 Share Posted April 2, 2010 Here's some more reading for you then http://php.net/ChangeLog-5.php'>http://php.net/ChangeLog-5.php http://php.net/ 0 Quote Link to comment Share on other sites More sharing options...
drhcanada Posted May 4, 2010 Share Posted May 4, 2010 (edited) I have 2 instances of WHMCS running, on one I am getting the screen included and the other install I am getting no issues. both installs are 4.1.2 on the very same server and the server uses PHP 5.3.2 and the newest ioncube loaders released april 28th. the only difference between the 2 is they have diffenrent IP address' why would this be happening? The one thats not working actually seems to crash the browser after trying to load up the "general settings" screen and not just on my computer either. Edited May 4, 2010 by drhcanada 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 5, 2010 WHMCS Support Manager Share Posted May 5, 2010 Creating a /modules/support/ directory will resolve this error. 0 Quote Link to comment Share on other sites More sharing options...
gnummep-martin Posted May 22, 2010 Share Posted May 22, 2010 Thanks, John! That worked. But how come this happened? It worked the first 5 - 10 times or so I went to the page and then it "suddenly" stopped working (suddenly solely from the user click-and-look point of view). 0 Quote Link to comment Share on other sites More sharing options...
mylove4life Posted May 22, 2010 Share Posted May 22, 2010 Are you using a maped pipe name in the connect string? Rememberyou have to use an IP when using 5.3.x in the new PHP 0 Quote Link to comment Share on other sites More sharing options...
HostMyApple Posted June 22, 2010 Share Posted June 22, 2010 Creating a /modules/support/ directory will resolve this error. John, why is this an issue? I did a fresh install of PHP / MySQL / Ion Cube / WHMCS and could not access the general settings. I followed your post by adding the support directory to modules and everything works. I even submitted a ticket and the agents response was to "enable directory support" Which I took as enable directory listing not CREATE a directory called support. Please fix this bug. Thank You Brent Ellis HostMyApple.com 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 23, 2010 WHMCS Support Manager Share Posted June 23, 2010 It's caused by an Ioncube/PHP 5.3 conflict when the system tries to check for an empty directory. It's not a bug with WHMCS and is out of our control unfortunately. 0 Quote Link to comment Share on other sites More sharing options...
HostMyApple Posted June 23, 2010 Share Posted June 23, 2010 (Not trying to start an argument thread) but why would an IonCube / PHP 5.3 conflict want to be looking for a directory in */whmcs/admin/modules/support/ Does not make sense to me. It would seem like something in WHMCS is at least directing IonCube / PHP 5.3 to even think that this directory may exist. Seems like maybe this issue should be stickied. Or a warning be put into the install readme. Thank You for your help though 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.