Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Error 500 WHMCS

General questions about VestaCP
Post Reply
  • Print view
Advanced search
17 posts
  • 1
  • 2
  • Next
MrTuNNe
Posts: 6
Joined: Fri Oct 14, 2016 8:39 am

Error 500 WHMCS
  • Quote

Post by MrTuNNe » Fri Oct 14, 2016 8:44 am

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?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Error 500 WHMCS
  • Quote

Post by tjebbeke » Fri Oct 14, 2016 9:23 am

Take a look in your log files.
Top

MrTuNNe
Posts: 6
Joined: Fri Oct 14, 2016 8:39 am

Re: Error 500 WHMCS
  • Quote

Post by MrTuNNe » Fri Oct 14, 2016 9:40 am

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
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: Error 500 WHMCS
  • Quote

Post by mike08 » Fri Oct 14, 2016 1:01 pm

Add the following to your /home/admin/web/tkcode.xyz/public_html/test/configuration.php file (Or wherever your whmcs is installed)

Code: Select all

$display_errors = true;
$display_errors = E_ALL ^ E_NOTICE;
And then reload your web site and see if you get more details about the issue.
Top

MrTuNNe
Posts: 6
Joined: Fri Oct 14, 2016 8:39 am

Re: Error 500 WHMCS
  • Quote

Post by MrTuNNe » Fri Oct 14, 2016 3:14 pm

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
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Error 500 WHMCS
  • Quote

Post by ScIT » Fri Oct 14, 2016 4:10 pm

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
seems that your PHP memory_size value is to low. For example: https://www.airpair.com/php/fatal-error ... emory-size
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Error 500 WHMCS
  • Quote

Post by mehargags » Fri Oct 14, 2016 4:20 pm

but before going up with the php memory, please make sure your script is not having endless loops or memory leak.
Top

MrTuNNe
Posts: 6
Joined: Fri Oct 14, 2016 8:39 am

Re: Error 500 WHMCS
  • Quote

Post by MrTuNNe » Fri Oct 14, 2016 4:33 pm

mehargags wrote:but before going up with the php memory, please make sure your script is not having endless loops or memory leak.
Code is crypted.I can't see.
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: Error 500 WHMCS
  • Quote

Post by mike08 » Fri Oct 14, 2016 4:55 pm

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
Are you currently using a SSL certificate within your WHMCS installation?
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.
Top

MrTuNNe
Posts: 6
Joined: Fri Oct 14, 2016 8:39 am

Re: Error 500 WHMCS
  • Quote

Post by MrTuNNe » Fri Oct 14, 2016 5:39 pm

mike08 wrote:
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
Are you currently using a SSL certificate within your WHMCS installation?
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.
I don't use SSL certificate for WHMCS.
And is already to hosting template
P.S: Not work.
Top


Post Reply
  • Print view

17 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password