Start a new topic

Notice: Undefined index: ALL_HTTP in C:\xampp\htdocs\Bicycleshop-pack\app\detect.php on line 118

change it from: if (strpos(strtolower($_SERVER['ALL_HTTP']),'OperaMini')>0) to if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'OperaMini')>0)

(5.28 KB)

I tried this one but seems to be not working. After I change it, error appears like this. 

Warning: include(web/404.html): failed to open stream: No such file or directory in C:\xampp\htdocs\packs_sample\agro_farm-pack\index.php on line 39

Warning: include(): Failed opening 'web/404.html' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\packs_sample\agro_farm-pack\index.php on line 39

The said error is all about the error page which is not existing on the local folder, what did you do about this? Thanks.

Create a file called "404.html" and put in into the 'web' directory. This solves the error.

1 person likes this

juste renove operamini in detect  :v

Login or Signup to post a comment