culdasergiu Posted April 26, 2017 Share Posted April 26, 2017 Salutare, Am o problema cu dashboard-ul. Cand apas pe Modules and Services --> Module and Service primesc o eroare: [PrestaShop] Fatal error in module file :/home/developm/website.ro/modules/psverticalmenu/classes/PsVerticalMegamenu.php:syntax error, unexpected 'public' (T_PUBLIC) Stie cineva ce ar putea cauza aceasta eroare? Multumesc Link to comment Share on other sites More sharing options...
Daniel Patilea Posted April 26, 2017 Share Posted April 26, 2017 Salutare, Am o problema cu dashboard-ul. Cand apas pe Modules and Services --> Module and Service primesc o eroare: [PrestaShop] Fatal error in module file :/home/developm/website.ro/modules/psverticalmenu/classes/PsVerticalMegamenu.php: syntax error, unexpected 'public' (T_PUBLIC) Stie cineva ce ar putea cauza aceasta eroare? Multumesc Banuiala mea este ca se incearca declararea unei functii insa deasupra este ceva in neregula. Trebuie sa vedem continutul fisierului /modules/psverticalmenu/classes/PsVerticalMegamenu.php ca sa te putem ajuta. Il poti posta pe pastebin.com Link to comment Share on other sites More sharing options...
Rasq Posted April 27, 2017 Share Posted April 27, 2017 Incearca asa: Intra prin FTP sau FileManager in lista de fisiere. Copiaza tot folderul psverticalmenu din module in PC. Sa ai back-up. Apoi sterge din server folderul psverticalmenu. Vezi daca poti intra. Link to comment Share on other sites More sharing options...
culdasergiu Posted April 27, 2017 Author Share Posted April 27, 2017 (edited) Aici este codul complet: pastebin.com/cTUG6zPt Nu pot face link, deoarece sunt pe telefon Edited April 27, 2017 by culdasergiu (see edit history) Link to comment Share on other sites More sharing options...
Daniel Patilea Posted April 27, 2017 Share Posted April 27, 2017 Aici este codul complet: pastebin.com/cTUG6zPt Nu pot face link, deoarece sunt pe telefon sterge public inainte de class PsVerticalMegamenu extends ObjectModel { Link to comment Share on other sites More sharing options...
culdasergiu Posted April 27, 2017 Author Share Posted April 27, 2017 Din cate imi aduc aminte am făcut chestia asta si tot da aceasi eroare Link to comment Share on other sites More sharing options...
Rasq Posted April 27, 2017 Share Posted April 27, 2017 Daca stergi tot modulul nu are cum sa iti dea aceeasi eroare. Doar daca ai retinut in cache. Si sa stergi in cazul acesta si cacheul. Link to comment Share on other sites More sharing options...
culdasergiu Posted April 27, 2017 Author Share Posted April 27, 2017 Si dacă șterg modulul, o sa mai funcționeze dashboard-ul? Link to comment Share on other sites More sharing options...
Rasq Posted April 27, 2017 Share Posted April 27, 2017 Si dacă șterg modulul, o sa mai funcționeze dashboard-ul? Nu toate modulele. Doar acesta: psverticalmenu. Dar sa il copiezi in PC intai. Link to comment Share on other sites More sharing options...
culdasergiu Posted April 27, 2017 Author Share Posted April 27, 2017 Am rezolvat va multumesc Link to comment Share on other sites More sharing options...
Rasq Posted April 27, 2017 Share Posted April 27, 2017 Am rezolvat va multumesc Cu placere. Ne spui si cum? Poate are si altcineva problema aceasta. Link to comment Share on other sites More sharing options...
culdasergiu Posted April 27, 2017 Author Share Posted April 27, 2017 Am sters acel folder 1 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