Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Ampps Admin and Home Page 500 Error

2


Threaded Mode | Print  

Ampps Admin and Home Page 500 Error
webnuage
Group: Member
Post Group: Newbie
Posts: 4
Status:
No, in neither php folders ...
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Restore Default Configuration from AMPPS Application -> PHP Tab Please.

Please open a ticket. If you are still facing issues.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
webnuage
Group: Member
Post Group: Newbie
Posts: 4
Status:
OK. Thank You !
IP: --   

Ampps Admin and Home Page 500 Error
ylluminate
Group: Member
Post Group: Newbie
Posts: 3
Status:
Upon attempting:
`/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php`
I received:
Quote
Site error: the file <b>/Applications/AMPPS/ampps/softaculous/enduser/install.php</b> requires the ionCube PHP Loader ioncube_loader_dar_5.3.so to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.


I then used the PHP -> Restore Default Configuration function since `/Applications/AMPPS/php/etc/php.ini` was missing.

After that was restored, I attempted this again:
`/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php`

And received the following output:
Quote
PHP Warning:  filemtime(): stat failed for /Applications/AMPPS/ampps/data/vichitra in /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203

Warning: filemtime(): stat failed for /Applications/AMPPS/ampps/data/vichitra in /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203


I then attempted to run it again for kicks and received the following output:
Quote
/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php


Same with `cron.php`.

It appears that something is b0rked with the php libs.

The php bin is showing: PHP 5.3.28 (cli) (built: Jan 29 2014 13:54:00)
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote

PHP Warning:  filemtime(): stat failed for
/Applications/AMPPS/ampps/data/vichitra in
/Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203



Warning: filemtime(): stat failed for
/Applications/AMPPS/ampps/data/vichitra in
/Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203


They are warning, and can be ignored. This shouldn't effect anything.

Quote

I then attempted to run it again for kicks and received the following output:
Quote
/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php


Same with `cron.php`.

What output ? I cannot the see the output.

Wait for few minutes to complete. Your Enduser and Admin Panel both should work.



-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
ylluminate
Group: Member
Post Group: Newbie
Posts: 3
Status:
Well, it does seem things started to operate again after manually killing the http daemon and mysql, and so forth, but `phpmyadmin` is still having some issues as well.  When I visit localhost/phpmyadmin I get:

Quote
Fatal error: Call to undefined function mb_detect_encoding() in /Applications/AMPPS/phpMyAdmin/libraries/php-gettext/gettext.inc on line 177
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Enable php_mbstring from AMPPS Application -> PHP TAb -> PHP Extension

It should be enabled by default by the way. But just confirm and enable it if it is not already enabled. Restarting Apache is required.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
ylluminate
Group: Member
Post Group: Newbie
Posts: 3
Status:
So `mbstring.so` was already enabled, BUT `gettext.so` was NOT.  I enabled that and it seems to work now.  This was indeed default configuration since I used the `Restore Default Configuration` function since it was not properly installed in the beginning.

You may also want to stick a link to localhost/phpmyadmin inside of the MySQL section of the control panel for convenience sake and reminder for users.
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

It is present in "Database Tools" section.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
tomdringer
Group: Member
Post Group: Newbie
Posts: 4
Status:
Sorry to resurrect an old thread.

I'm on El Capitan and get the 500 error for the admin page.

Looking in the logs i have

[Fri Apr 29 06:51:50.167673 2016] [core:notice] [pid 499] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Fri Apr 29 06:52:25.147463 2016] [cgi:error] [pid 688] [client 127.0.0.1:49522] AH01215: (8)Exec format error: exec of '/Applications/AMPPS/ampps/softaculous/enduser/index.php' failed: /Applications/AMPPS/ampps/softaculous/enduser/index.php
[Fri Apr 29 06:52:25.147609 2016] [cgi:error] [pid 688] [client 127.0.0.1:49522] End of script output before headers: index.php

I've tried the steps above via the terminal, but i'm making no progress.

Any direction is appreciated.

Thanks!
IP: --   

Ampps Admin and Home Page 500 Error
kisvukk70
Group: Member
Post Group: Newbie
Posts: 3
Status:
Hi,

If you got 50x error on ampps admin sites right after you changed php version
maybe you don't need to do php version downgrade and another config resets.
My problem came out when i deleted the old php verisons folders. And this is the problem because softaculous hardcoded php-5.3 in a php file.

Problem solved in this way:
I use linux mint, path and command maybe different on other os but the todo is probably same

open usr\local\ampps\ampps\softaculous\enduser\index.php
and modify the first line
from
#!/usr/local/ampps/php-5.3/bin/php-cgi

to
#!/usr/local/ampps/php-x.x/bin/php-cgi

where x.x is your current/desired php version

If you stucked in php version change, there is more three step:

1) delete php.lnk from ampps folder
2) run this in terminal to make a new lnk:
ln -s /usr/local/ampps/php-x.x /usr/local/ampps/php
3) open usr/local/ampps/ampps/data/apps
and change php-x.x version number

where x.x is your current/desired php version
IP: --   

« Previous    Next »

Threaded Mode | Print  

2


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 4:20 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.043