We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Error 500 WHMCS
Error 500 WHMCS
Hello,i try to install WHMCS to my web server(using VestaCP latest version) but i have a problem..
After i installed on Client Arena show Error 500 but on Admin Panel all is ok(WHMCS 6)
OS: Ubuntu 14.04 64 Bit
And i have Ioncube.
Somebody know this problem?
After i installed on Client Arena show Error 500 but on Admin Panel all is ok(WHMCS 6)
OS: Ubuntu 14.04 64 Bit
And i have Ioncube.
Somebody know this problem?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Error 500 WHMCS
Take a look in your log files.
Re: Error 500 WHMCS
On my error log i have that:
Code: Select all
[Wed Oct 12 08:46:41.275328 2016] [:error] [pid 29718] [client 5.1.85.170:44107] PHP Warning: realpath(): open_basedir restriction in effect. File(/usr/lib/php5/20131226) is not within the allowed path(s): (/home/admin/web/tkcode.xyz/public_html:/home/admin/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) in /home/admin/web/tkcode.xyz/public_html/test/index.php on line 35
[Wed Oct 12 08:46:41.275992 2016] [:error] [pid 29718] [client 5.1.85.170:44107] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/admin/web/tkcode.xyz/ioncube/ioncube_loader_lin_5.6.so) is not within the allowed path(s): (/home/admin/web/tkcode.xyz/public_html:/home/admin/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) in /home/admin/web/tkcode.xyz/public_html/test/index.php on line 35
[Wed Oct 12 08:46:41.276305 2016] [:error] [pid 29718] [client 5.1.85.170:44107] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/admin/web/ioncube/ioncube_loader_lin_5.6.so) is not within the allowed path(s): (/home/admin/web/tkcode.xyz/public_html:/home/admin/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) in /home/admin/web/tkcode.xyz/public_html/test/index.php on line 35
[Wed Oct 12 08:46:41.276559 2016] [:error] [pid 29718] [client 5.1.85.170:44107] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/admin/ioncube/ioncube_loader_lin_5.6.so) is not within the allowed path(s): (/home/admin/web/tkcode.xyz/public_html:/home/admin/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) in /home/admin/web/tkcode.xyz/public_html/test/index.php on line 35
[Wed Oct 12 08:46:41.276835 2016] [:error] [pid 29718] [client 5.1.85.170:44107] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/ioncube/ioncube_loader_lin_5.6.so) is not within the allowed path(s): (/home/admin/web/tkcode.xyz/public_html:/home/admin/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube) in /home/admin/web/tkcode.xyz/public_html/test/index.php on line 35
[Wed Oct 12 08:52:28.662077 2016] [:error] [pid 31813] [client 5.1.85.170:51101] PHP Fatal error: Class 'Illuminate\\Support\\Facades\\Facade' not found in /home/admin/web/tkcode.xyz/public_html/test/includes/classes/WHMCS/Utility/Bootstrap/AbstractBootstrap.php on line 0
[Wed Oct 12 09:09:42.138519 2016] [autoindex:error] [pid 637] [client 5.1.85.170:43469] AH01276: Cannot serve directory /home/admin/web/tkcode.xyz/public_html/test/ioncube/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Wed Oct 12 09:30:20.122616 2016] [autoindex:error] [pid 646] [client 5.1.85.170:39589] AH01276: Cannot serve directory /home/admin/web/tkcode.xyz/public_html/test/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
Re: Error 500 WHMCS
Add the following to your /home/admin/web/tkcode.xyz/public_html/test/configuration.php file (Or wherever your whmcs is installed)
And then reload your web site and see if you get more details about the issue.
Code: Select all
$display_errors = true;
$display_errors = E_ALL ^ E_NOTICE;
Re: Error 500 WHMCS
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 130968 bytes) in /home/admin/web/tkcode.xyz/public_html/test2/lang/swedish.php on line 0
Re: Error 500 WHMCS
seems that your PHP memory_size value is to low. For example: https://www.airpair.com/php/fatal-error ... emory-sizeMrTuNNe wrote:Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 130968 bytes) in /home/admin/web/tkcode.xyz/public_html/test2/lang/swedish.php on line 0
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Error 500 WHMCS
but before going up with the php memory, please make sure your script is not having endless loops or memory leak.
Re: Error 500 WHMCS
Code is crypted.I can't see.mehargags wrote:but before going up with the php memory, please make sure your script is not having endless loops or memory leak.
Re: Error 500 WHMCS
Are you currently using a SSL certificate within your WHMCS installation?MrTuNNe wrote:Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 130968 bytes) in /home/admin/web/tkcode.xyz/public_html/test2/lang/swedish.php on line 0
Also, which template are you using with your WHMCS domain within vesta control panel?...
I would recommend you to use the 'Hosting' template for Apache and Nginx.
Re: Error 500 WHMCS
I don't use SSL certificate for WHMCS.mike08 wrote:Are you currently using a SSL certificate within your WHMCS installation?MrTuNNe wrote:Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 130968 bytes) in /home/admin/web/tkcode.xyz/public_html/test2/lang/swedish.php on line 0
Also, which template are you using with your WHMCS domain within vesta control panel?...
I would recommend you to use the 'Hosting' template for Apache and Nginx.
And is already to hosting template
P.S: Not work.