Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Error displaying the error page: Application Instantiation Error



Threaded Mode | Print  

 Error displaying the error page: Application Instantiation Error, Joomla websites can not start after deleting files under VAR folder (6 Replies, Read 42186 times)
musiime
Group: Member
Post Group: Newbie
Posts: 4
Status:
All was ok with AMPPS till this morning when MYSQL could not start, I read this forum and found out that deleting all files under VAR folder will solve the problem.
It did and now MYSQL starts however, my joomla websites now can not start i get the error "Error displaying the error page: Application Instantiation Error" for all my sites
Please help
IP: --   

Error displaying the error page: Application Instantiation Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

You have deleted your databases. Do you have the backup of the databases, we can help you restore it.

Please provide me the link of the post you followed, because that is not correct. /Applications/AMPPS/var is the data folder of the mysql.


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

Error displaying the error page: Application Instantiation Error
musiime
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hello.
I did not delete the databases I deleted only files in that folder not folders, besides the files are still in my trash, i could recover them from there if that will help
IP: --   

Error displaying the error page: Application Instantiation Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Then it shouldn't be a problem.

Where those files regenerated when you restarted MySQL server ?

Can you access joomla database from phpMyAdmin ?

In joomla config file "configuration.php", you should be able to see MySQL Database Details. Please verify from phpMyAdmin that they exist.

If they are not present or changed please correct the details in the config file.

Let me know if this solved the issue.


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

Error displaying the error page: Application Instantiation Error
musiime
Group: Member
Post Group: Newbie
Posts: 4
Status:
The files deleted were regenerated and MYSQL started ok, but then my websites could not start, and gave me the error as described above
IP: --   

Error displaying the error page: Application Instantiation Error
musiime
Group: Member
Post Group: Newbie
Posts: 4
Status:
Update on this:
When i install a new Joomla website it loads fine.
IP: --   

Error displaying the error page: Application Instantiation Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Make sure the database details from configuration.php like database name, database user of your joomla website are present.

You can check from command line if the mysql user can connect to mysql server and access the database.

Code
/Applications/AMPPS/mysql/bin/mysql -u mysql_user -p'mysql_pass'


If you are into mysql shell then the username and password is present.
Code

mysql> SHOW DATABASES;


If the mysql user has the access to joomla database, database name should be listed by running above command.


-----------------------
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 29, 2024, 9:49 pm.

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