Jump to content

Impossible to access configgeneral.php


Endorphine

Recommended Posts

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 by Endorphine
Link to comment
Share on other sites

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

modload.jpg

Edited by Endorphine
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...

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.

screen.jpg

Edited by drhcanada
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
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

Link to comment
Share on other sites

(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 :)

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