Tuesday, August 21, 2018

CodeIgniter: The requested URL was not found

When you use router on your web application (bramus/code igniter/etc), sometimes you found that the url redirect showing error message:

Codeigniter “The requested URL was not found” error

Bramus “The requested URL was not found” error

Router “The requested URL was not found” error

the solutions is simple, you need to modify the php settings on apache2

  1. set enable rewrite url >> sudo a2enmod rewrite
  2. set AllowOveride All on the configuration >> edit apache2.conf
  3. restart apache >> sudo systemctl restart apache2
your application run well afterthat



Monday, August 20, 2018

upgrade phpmyadmin version

sometimes the phpmyadmin stored in repository is not the updated version, so you need to upgrade manually, don't worry it so easy as you copy and paste a directory in a computer

  1. download the most updated version from https://www.phpmyadmin.net/
  2. backup the /usr/share/phpmyadmin into another directory
  3. select all files inside /usr/share/phpmyadmin and delete them
  4. extract the downloaded file into the /usr/share/phpmyadmin
that's all, and your phpmyadmin has updated, no need to restart the apache engine.

this solution is also applied and solved the phpmyadmin compatibility issue showing the error:

“Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable”