troubleshoot

Troubleshooting typical EgoWeb 2.0 Problems

Question: I installed EgoWeb 2.0 and it looks like it installed correctly but I'm getting this “Error 500” error when I try to go to the admin page:

javascript is not defined error

Answer: This error (and other similar “Error 500” errors, see below) comes up when there has been a change in the database structure. This doesn't happen very often. When it comes up, the fix is easy. Type the following after your EgoWeb 2.0 URL in the browser address bar: “~/admin/migrate” and hit return/enter. For example, if you have a URL running EgoWeb 2.0 such as “egoweb.organization.org”, run “egoweb.organization.org/admin/migrate”. If you have a local installation, run “localhost/admin/migrate”. This command will update the SQL file with the new database structure. We are making plans to figure out a way to make this happen automatically without having to run this URL in a browser. For now this manual fix will solve the problem.

The error message fixed by running ~/admin/migrate might not have exactly the same wording each time. Here is another example of an “Error 500” error that is fixed with this step:

If in doubt, run ~/admin/migrate and see if the problem is fixed. It will not cause any problems if the error is something else.

If attempts to login with an administrative password fails, access can be regained to an EgoWeb 2.0 installation by deleting all entries in the “user” table. If this table is blank when a user attempts to open an EgoWeb 2.0 instance, the user is immediately prompted to create an administrative account name and password. Deleting entries in the “user” table can be done using MySQL for Linux installations, WAMP for Windows installations, and MAMP for Mac installations.

After re-entry into EgoWeb, any users that were deleted would have to be re-created using the new administrator account.

1) Open WAMP:

Launch the WAMP Server application from the Windows tray.

2) Run “phpMyAdmin”:

Select the WAMP Amin application.

3) Click “Databases”…

Launch Databases in phpMyAdmin

…and then click on “egoweb” either under “Databases” or over on the left hand side of the page under “(Recent tables)”.

4) Click on the “user” table to open up the table with the user properties.

Select the “user” table from SQL.

5) Delete all users in the user table.

Delete all users in “user” table. This triggers the request for a new admin password after launching EgoWeb 2.0 (launching “localhost” in a browser).

6) Re-launch EgoWeb 2.0. This will trigger the initial request for an admin user id and password. Previous users will have to be re-created by the new admin account.

If EgoWeb 2.0 code has changed, browsers may still load old versions of pages because they are storing page data in the cache. Sometimes there is a mixture of old and new page code, which can cause the page to appear broken in different ways.

To remedy this problem, do a hard browswer refresh, which clears the browser’s cache for that page and forces the browser to load the current page code. Browsers hang onto old code so that they do not have to load everything each time you visit the same page, but it sometimes hangs onto too much.

Doing a hard refresh depends on the browser and the operating system. For Windows and Chrome, hold down the “ctrl” key and click the browser refresh (or F5) and this should make the menu bar load properly. For Mac, do the same but instead of “ctrl” hold down “shift”.

This is a (LAMP/WAMP/MAMP) server setting problem preventing going above time limits, exporting or importing more than a small number of files, etc. Editing the php.ini file to raise the limits will fix the problem.

For Mac/MAMP:

  1. Start MAMP
  2. Open Webstart Page
  3. Go to phpInfo (top menu)
  4. Find file location of php.ini (search for “php.ini”)
  5. Edit php.ini file found above
  6. Search for these settings and change values after the “=” and save the changes. This should prevent timing out.

    max_input_vars = 10000
    max_execution_time = 5000
    post_max_size = 2000M
    upload_max_filesize = 2000M
    memory_limit = 3072M
    max_file_uploads = 5000
  7. Restart MAMP

For Windows:

  1. Find the wampmanager icon, which sits in the system tray has a menu system. Use that to edit your php.ini file that is used with Apache.
    (left click ) wampmanager icon → PHP → php.ini
  2. Search for these settings and change values after the “=” and save the changes. This should prevent timing out.

    max_input_vars = 10000
    max_execution_time = 5000
    post_max_size = 2000M
    upload_max_filesize = 2000M
    memory_limit = 3072M
    max_file_uploads = 5000
  3. Restart WAMP

For Linux:

  1. Open the terminal and run the following command to open the php.ini file.
  2. sudo nano /etc/php5/apache2/php.ini
  3. this will bring up the Linux text editor GNU nano
  4. Search for these settings and change values after the “=” and save the changes. This should prevent timing out.
  5. Search for text by entering control + W, enter the text and hit enter.


  6. max_input_vars = 10000
    max_execution_time = 5000
    post_max_size = 2000M
    upload_max_filesize = 2000M
    memory_limit = 3072M
    max_file_uploads = 5000
  7. Save by entering control + X, and then typing “Y” in response the prompt asking if you want to save changes.
  8. Restart Apache to save the changes by entering the command: sudo service apache2 restart
BynoeBynoe, 2022/11/04 12:20
https://www.yeezy500boost.us.com/
https://www.adidascom.us.com/
https://www.newadidasshoes.us.com/
https://www.yeezysboost-350.us.com/
https://www.adidasshoesonline.us.com/
https://www.nike-outletfactory.us.com/
https://www.adidasshoesshop.us.com/
https://www.nikesstoreoutlet.us.com/
https://www.nikeoutletstore.ca/
https://www.pandorarings.uk.com/
https://www.airforce1s.us.com/
https://www.pandoracharmsbracelet.us.com/
https://www.ultra-boost.us.com/
https://www.adidasyeezyofficialwebsite.us.com/
https://www.adidas-superstars.us.com/
https://www.nike-rosherun.us.com/
https://www.nikeoutletsonline.us.com/
https://www.nikesoutlets.us.com/
https://www.outletadidasshoes.us.com/
https://www.nikeshoesshop.ca/
https://www.officialyeezywebsite.us.com/
https://www.nmdsadidas.us.com/
https://www.trainersoutlet.uk.com/
https://www.ultraboost.uk.com/
https://www.nikeoutlet--store.us.com/
https://www.pandoracharmsbracelets.us.com/
https://www.adidasoutletshoes.us.com/
https://www.pandorasjewelry.uk.com/
https://www.nmd.uk.com/
https://www.nikesrunningshoes.us.com/
https://www.nike-onlinecanada.ca/
https://www.trainerssale.uk.com/
https://www.yeezyshoesboost.us.com/
https://www.nikeclearances.us.com/
https://www.nikesneakersstore.us.com/
https://www.nikeclearancestores.us.com/
https://www.adidasstoreonline.us.com/
https://www.nikepresto.us.org/
https://www.pandorajewelryuk.uk.com/
https://www.nike-sneakers.us.com/
https://www.adidasultraboost.shop/
https://www.yeezyshoesstore.ca/
https://pandorabracelets-charms.us.com/
https://www.yeezyshop.us.com/
https://www.nikeair-force1.us.com/
https://www.adidasyeezys.us.com/
https://www.yeezycanadastore.ca/
https://www.adidasoutletstores.us.com/
https://www.offwhite-shoes.us.com/
https://www.nikeshoesoutlets.us.com/
https://www.nikeoutletstores.us.com/
https://www.yeezy350shoes.ca/
https://www.pandorascharms.uk.com/
https://www.adidassuperstars.us.com/
https://www.nikecanada-onlineshopping.ca/
https://www.yeezyshoesadidas.us.com/
https://www.jewelrypandora.us.org/
https://www.adidas-originalssuperstar.us.com/
https://www.shoesoutletstores.ca/
https://www.yeezyboost350v2.us.com/
https://www.newtrainers.uk.com/
https://www.trainersstore.uk.com/
https://www.adidass.us.com/
https://www.pandoras.uk.com/
You could leave a comment if you were logged in.
  • troubleshoot.txt
  • Last modified: 2019/01/23 18:48
  • by wikimain