Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Updated to version 2.4 - broken dev environment



Threaded Mode | Print  

 Updated to version 2.4 - broken dev environment, Lots of Bugs (5 Replies, Read 23364 times)
gravy
Group: Member
Post Group: Newbie
Posts: 6
Status:
I upgraded AMPPS to version 2.4 (Build on May 12 2014).

When I try to access any of my development sites, e.g. http://mysite.dev, the vhosts file redirects me to /Applications/AMPPS/www instead of /Applications/AMPPS/www/mysite.dev/public as it normally did.

If I navigate to http://localhost/ampps, normally I am shown the AMPPS home page. I just get a WSOD. I click the link to AMPPS home page via the control center, and I still get a WSOD.

If I try to run my dev application by visiting http://localhost/mysite.dev/public, I am faced with the following PDOException:

PHP Code

 PDOException
SQLSTATE
[HY000] [2002Can't connect to local MySQL server through socket '/Applications/AMPPS/var/mysql.sock' (2) 



MySql Error logs as follows:

PHP Code

 2014-05-14 08:49:21 3592 [NotePlugin 'FEDERATED' is disabled.
2014-05-14 08:49:21 3592 [NoteInnoDBUsing atomics to ref count buffer pool pages
2014
-05-14 08:49:21 3592 [NoteInnoDBThe InnoDB memory heap is disabled
2014
-05-14 08:49:21 3592 [NoteInnoDBMutexes and rw_locks use GCC atomic builtins
2014
-05-14 08:49:21 3592 [NoteInnoDBCompressed tables use zlib 1.2.3
2014
-05-14 08:49:21 3592 [NoteInnoDBNot using CPU crc32 instructions
2014
-05-14 08:49:21 3592 [NoteInnoDBInitializing buffer poolsize 128.0M
2014
-05-14 08:49:21 3592 [NoteInnoDBCompleted initialization of buffer pool
2014
-05-14 08:49:21 3592 [NoteInnoDBHighest supported file format is Barracuda.
2014-05-14 08:49:23 3592 [NoteInnoDB128 rollback segment(sare active.
2014-05-14 08:49:23 3592 [NoteInnoDBWaiting for purge to start
2014
-05-14 08:49:23 3592 [NoteInnoDB5.6.17 startedlog sequence number 32723292
2014
-05-14 08:49:24 3592 [NoteServer hostname (bind-address): '*'port3306
2014
-05-14 08:49:24 3592 [NoteIPv6 is available.
2014-05-14 08:49:24 3592 [Note]   - '::' resolves to '::';
2014-05-14 08:49:24 3592 [NoteServer socket created on IP'::'.
2014-05-14 08:49:24 3592 [WarningInnoDBCannot open table mysql/slave_master_info from the internal data dictionary of InnoDB though the .frm file for the table existsSee http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2014-05-14 08:49:24 3592 [WarningInfo table is not ready to be usedTable 'mysql.slave_master_info' cannot be opened.
2014-05-14 08:49:24 3592 [WarningInnoDBCannot open table mysql/slave_worker_info from the internal data dictionary of InnoDB though the .frm file for the table existsSee http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2014-05-14 08:49:24 3592 [WarningInnoDBCannot open table mysql/slave_relay_log_info from the internal data dictionary of InnoDB though the .frm file for the table existsSee http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2014-05-14 08:49:24 3592 [WarningInfo table is not ready to be usedTable 'mysql.slave_relay_log_info' cannot be opened.
2014-05-14 08:49:24 3592 [NoteEvent SchedulerLoaded 0 events
2014
-05-14 08:49:24 3592 [Note] /Applications/AMPPS/mysql/bin/mysqldready for connections.
Version'5.6.17-log'  socket'/Applications/AMPPS/mysql/tmp/mysql.sock'  port3306  Source distribution
2014
-05-14 09:00:37 b0a3e000 InnoDBErrorTable "mysql"."innodb_table_stats" not found.
2014-05-14 09:00:37 b0a3e000 InnoDBErrorFetch of persistent statistics requested for table "site.dev"."lar_groups" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structureUsing transient stats instead.
2014-05-14 09:00:37 b0a3e000 InnoDBErrorTable "mysql"."innodb_table_stats" not found.
2014-05-14 09:00:37 b0a3e000 InnoDBErrorFetch of persistent statistics requested for table "site.dev"."lar_throttle" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structureUsing transient stats instead.
2014-05-14 09:00:37 b0a3e000 InnoDBErrorTable "mysql"."innodb_table_stats" not found.
2014-05-14 09:00:37 b0a3e000 InnoDBErrorFetch of persistent statistics requested for table "site.dev"."lar_users" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structureUsing transient stats instead.
2014-05-14 09:00:37 b0a3e000 InnoDBErrorTable "mysql"."innodb_table_stats" not found.
2014-05-14 09:00:37 b0a3e000 InnoDBErrorFetch of persistent statistics requested for table "site.dev"."lar_users_groups" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structureUsing transient stats instead



Apache Error Logs as follows:

PHP Code

 [Wed May 14 08:49:18.203651 2014] [mpm_prefork:notice] [pid 3585AH00163Apache/2.4.9 (UnixPHP/5.4.28 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 14 08:49:18.224396 2014] [core:notice] [pid 3585AH00094Command line'/Applications/AMPPS/apache/bin/httpd'
[Wed May 14 08:57:40.074488 2014] [mpm_prefork:notice] [pid 3585AH00173SIGHUP received.  Attempting to restart
[Wed May 14 08:57:40.191678 2014] [mpm_prefork:notice] [pid 3585AH00163Apache/2.4.9 (UnixPHP/5.4.28 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 14 08:57:40.191720 2014] [core:notice] [pid 3585AH00094Command line'/Applications/AMPPS/apache/bin/httpd'
[Wed May 14 09:00:00.014485 2014] [mpm_prefork:notice] [pid 3585AH00173SIGHUP received.  Attempting to restart
[Wed May 14 09:00:00.137120 2014] [mpm_prefork:notice] [pid 3585AH00163Apache/2.4.9 (UnixPHP/5.4.28 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 14 09:00:00.137203 2014] [core:notice] [pid 3585AH00094Command line'/Applications/AMPPS/apache/bin/httpd'
[Wed May 14 09:01:19.747614 2014] [mpm_prefork:notice] [pid 3585AH00173SIGHUP received.  Attempting to restart
[Wed May 14 09:01:19.838308 2014] [mpm_prefork:notice] [pid 3585AH00163Apache/2.4.9 (UnixPHP/5.4.28 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 14 09:01:19.838351 2014] [core:notice] [pid 3585AH00094Command line'/Applications/AMPPS/apache/bin/httpd'
[Wed May 14 09:04:45.510744 2014] [mpm_prefork:notice] [pid 3585AH00173SIGHUP received.  Attempting to restart
[Wed May 14 09:04:45.601518 2014] [mpm_prefork:notice] [pid 3585AH00163Apache/2.4.9 (UnixPHP/5.4.28 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 14 09:04:45.601559 2014] [core:notice] [pid 3585AH00094Command line'/Applications/AMPPS/apache/bin/httpd' 



/Applications/AMPPS/ampps/scripts/error_log.log (1.37 KB)

PHP Code

 [14-May-2014 08:20:46FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 08:10:48FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 08:04:58FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:59:20FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:58:56FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:58:27FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:57:51FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:57:32FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:57:28FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:57:23FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
[14-May-2014 07:57:23FATAL 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148 

IP: --   

Updated to version 2.4 - broken dev environment
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Try this Solution by Enabling PHP MySQL Extension.

Please enable by following the steps below:

1. Open AMPPS Application.
2. Click on "PHP" Tab
3. Click on "PHP Extension"
4. Enable "mysql.so".
5. Apply
6. Restart Apache.

Sorry for the inconvenience.

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

Updated to version 2.4 - broken dev environment
gravy
Group: Member
Post Group: Newbie
Posts: 6
Status:
I tried that already - see attached screenshot:
IP: --   

Updated to version 2.4 - broken dev environment
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Please refer this post:
http://www.softaculous.com/board/index.php?tid=5404&tpg=2&title=Can%27t_access_AMPPS_Home#p19708

Please open a ticket if you are still facing any issues we will look into it.


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

Updated to version 2.4 - broken dev environment
gravy
Group: Member
Post Group: Newbie
Posts: 6
Status:
I have resorted to backing up my dev sites and databases, and re-installing AMPPS from scratch.

Now I am able to access the control panel. Great.

Unfortunately, I now have another bug...

When adding my domains again, I can add domains fine if no SSL support.

If I try to add domains with SSL support, I get the following error:

Quote
Cert File was not created due to unknown reason


I have checked my apache error logs:

Code

[Fri May 16 10:54:24.344651 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: +, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345184 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: +, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345209 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: , referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345477 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: unable to write 'random state', referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345518 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: e is 65537 (0x10001), referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356047 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: error on line -1 of /Applications/AMPPS/extra/ssl/openssl.cnf, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356231 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: 2711970284:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('/Applications/AMPPS/extra/ssl/openssl.cnf','rb'), referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356323 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: 2711970284:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356515 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: 2711970284:error:0E078072:configuration file routines :D EF_LOAD:no such file:conf_def.c:197:, referer: http://localhost/ampps/index.php?act=ampps_domainadd


I have also ensured that openssl.so extension is installed via PHP Screenshot attached.

When I look into /Applications/AMPPS/extra, I can not see an ssl folder.

Code

ahmets-mbp:extra ahmet$ ls
bin    etc    include    lib    man    sbin    share

ahmets-mbp:extra ahmet$ pwd
/Applications/AMPPS/extra

ahmets-mbp:extra ahmet$


As such, It appears that for some reason, a new install, doesn't actually install the SSL folder?
IP: --   

Updated to version 2.4 - broken dev environment
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Please run the following command in terminal to fix this issue:

Code
ln -s /Applications/AMPPS/extra/etc/openssl /Applications/AMPPS/extra/ssl



Quote From : gravy May 16, 2014, 10:25 am
I have resorted to backing up my dev sites and databases, and re-installing AMPPS from scratch.

Now I am able to access the control panel. Great.

Unfortunately, I now have another bug...

When adding my domains again, I can add domains fine if no SSL support.

If I try to add domains with SSL support, I get the following error:

Quote
Cert File was not created due to unknown reason


I have checked my apache error logs:

Code

[Fri May 16 10:54:24.344651 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: +, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345184 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: +, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345209 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: , referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345477 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: unable to write 'random state', referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.345518 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: e is 65537 (0x10001), referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356047 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: error on line -1 of /Applications/AMPPS/extra/ssl/openssl.cnf, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356231 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: 2711970284:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('/Applications/AMPPS/extra/ssl/openssl.cnf','rb'), referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356323 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: 2711970284:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:, referer: http://localhost/ampps/index.php?act=ampps_domainadd
[Fri May 16 10:54:24.356515 2014] [cgi:error] [pid 414] [client ::1:49269] AH01215: 2711970284:error:0E078072:configuration file routines :D EF_LOAD:no such file:conf_def.c:197:, referer: http://localhost/ampps/index.php?act=ampps_domainadd


I have also ensured that openssl.so extension is installed via PHP Screenshot attached.

When I look into /Applications/AMPPS/extra, I can not see an ssl folder.

Code

ahmets-mbp:extra ahmet$ ls
bin    etc    include    lib    man    sbin    share

ahmets-mbp:extra ahmet$ pwd
/Applications/AMPPS/extra

ahmets-mbp:extra ahmet$


As such, It appears that for some reason, a new install, doesn't actually install the SSL folder?


Edited by tidus : May 16, 2014, 12:09 pm

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

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 24, 2024, 4:23 am.

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