Uninstalling PHPGrid on Web Server

QuestionsUninstalling PHPGrid on Web Server
Tony Wolsey asked 5 years ago

Hello Abu

I needed to reinstall my Web Server (Apache). I wanted to do a fresh install of PHP Grid also at the same time. I backed up the PHPgrid directory on my web server just in case and then proceeded to reinstall Apache.

I installed griddemo DB manually before proceeding with the clean install of phpgrid.

After that, I tried performing the clean install instructions for PHP Grid but the install would not work. The install kept on timing out when I tried to establish the db connection on the install page.

I ended up having to restore the backed up version of phpgrid directory to make it work again.

Is there a procedure for uninstalling phpgrid properly so that I can re-run the install again if needed?

thanks

Tony

 

7 Answers
Tony Wolsey answered 5 years ago

Is there a procedure for uninstalling phpgrid properly so that I can re-run the install again if needed or does it just involve removing the applicable directory?

 

thanks Tony

Tim Moore answered 5 years ago

The install creates a config.php file for logging into your database, and adds the demo data to your database (griddemo). Not sure why it is not working for you. Is the database being created? Perhaps its a permission problem when trying to write the config.php file?

Tony Wolsey answered 5 years ago

Hi Tim

I was pre-creating the config.php file (from the config.sample.php) with the necessary parameters already updated prior to running the install. Is this the problem? Should I just let the installation auto-create the config.php? Also, I was pre-installing the griddemo DB prior to running the install.

thanks

Tony

Tim Moore answered 5 years ago

I think, what you explained you have done manually, is all that the install.php does. it should essential be “installed”. I tried to run the install again and it fails. index.php does not bring up the demos? This might be a question for Abu if it still is not working.

Tony Wolsey answered 5 years ago

Hi Abu

Is there a procedure for uninstalling phpgrid properly so that we can re-install again if needed. It does not seem to work properly after re-install. The demos don’t display and any forms created previously do not work.

thanks

Tony

Abu Ghufran Staff answered 5 years ago

This ticket was answered via direct email.

To setup demos again, you can manually drop database named ‘griddemo’ and re-run install.php found in package after extracting in public_html.

If you get a max time limit error while running install.php, you can put this line at top of install.php – this will allow script to take required time to setup db.

<?php
set_time_limit(0);
?>

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Tony Wolsey answered 5 years ago

thanks Abu

Your Answer

18 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?