php error

  1. K

    Resolved Error “PHP Fatal error: Cannot redeclare”

    If you are getting error “PHP Fatal error: Cannot redeclare” function the it means you are declaring same function multiple times in your code. There can ne three reasons if you are getting error: Using same function in 2 files. If you are define function in two places within same file. Two...
  2. K

    Error in PHP 'Allowed memory size exhausted'

    If you are getting this error in your PHP application then you can incease the memory limit for website. There are various ways to increase memory_limit: You can increase memory limt with .htaccess file ad PHP.ini file. But if you are using cpanel then you can directly increase memory limit...
Top