webdesign.iasi Posted August 2, 2014 Share Posted August 2, 2014 Buna ziua. S-a facut o repunere de back-up pentru un presta 1.6.0.8, dar la final intervine 500 Server Error, iar cei de la hosting mi-au dat eroarea de pe server care e PHP Warning: Invalid argument supplied for foreach() in /home/ultraver/public_html/ultraverde.nl/classes/shop/Shop.php on line 332. In linia respectiva e foreach ($result as $row). Cine ma poate ajuta sa remediez problema, va rog? Link to comment Share on other sites More sharing options...
cristic Posted August 2, 2014 Share Posted August 2, 2014 (edited) Problema trebuie sa fie alta. Acela e doar un Warning. Sa verifice in error_log ceva de genul Fatal Error... Dar fiind 500 Server Error poate sa nu vina neaparat din PHP. Incearca sa active debugging-ul din config/defines.inc.php si vezi daca apare eroarea. Edited August 2, 2014 by cristic (see edit history) Link to comment Share on other sites More sharing options...
webdesign.iasi Posted August 2, 2014 Author Share Posted August 2, 2014 Multumesc. Era o problema la .htaccess dupa instalarea back-up-ului se pare. Link to comment Share on other sites More sharing options...
Suparici Posted October 22, 2014 Share Posted October 22, 2014 Salutare, Poti sa-mi zici ce solutie ai gasit? Se tot blocheaza vps-ul iar cei de la hosting mi-au zis ca am o eroare care se tot repeta. 22-Oct-2014 10:00:44 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/-/public_html/classes/shop/Shop.php on line 332 Multumesc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now