-
Posts
17 -
Joined
-
Last visited
About DavidTech
- Birthday 09/29/1999
Contact Methods
- Website
-
Skype
davrovvir
Profile Information
-
Location
Barcelona
-
Interests
Programming & IT!!!
-
First Name
David
-
Last Name
Royo
Recent Profile Visitors
418 profile views
DavidTech's Achievements
-
HTTP ERROR 500 On backoffice login (see error log)
DavidTech replied to DavidTech's topic in Configuring and using PrestaShop
Thank you so much, now i am able to solve this kind of issues every time i get them, you got my sincerely respect!- 5 replies
-
- VIRTUALMIN
- HTTP
-
(and 8 more)
Tagged with:
-
HTTP ERROR 500 On backoffice login (see error log)
DavidTech replied to DavidTech's topic in Configuring and using PrestaShop
Thank you, i did what you said and on the error log the module error seems to not show any more, but there're still some errors: [Sat Aug 19 21:57:25.870033 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: PHP Fatal error: Uncaught SmartyCompilerException: Syntax error in template "/home/david_calcemi/public_html/backoffice/themes/default/template/helpers/form/form.tpl" on line 784 "{if isset($i" - Unexpected "i", expected one of: "","" , ")" in /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatecompilerbase.php:784, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 21:57:25.870099 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: Stack trace:, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 21:57:25.870102 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #0 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templateparser.php(4435): Smarty_Internal_TemplateCompilerBase->trigger_template_error(), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 21:57:25.870105 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #1 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templateparser.php(4501): Smarty_Internal_Templateparser->yy_syntax_error(0, 0), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 21:57:25.870107 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #2 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(126): Smarty_Internal_Templateparser->doParse(0, 0), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 21:57:25.870110 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #3 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatecompilerbase.php(283): Smarty_Internal_SmartyTemplateCompiler->do in /home/david_calcemi/public_html/app/bootstrap.php.cache on line 3225, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a- 5 replies
-
- VIRTUALMIN
- HTTP
-
(and 8 more)
Tagged with:
-
Hi, my name is David and i am having issues. I put the back-office login info and then press login, an HTTP ERROR 500 shows up, i will add the error log below. [Sat Aug 19 19:24:48.288830 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Parse error: syntax error, unexpected end of file, expecting ')' in /home/david_calcemi/public_html/src/Core/Addon/Module/ModuleManager.php:176, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288869 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: Stack trace:, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288873 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #0 /home/david_calcemi/public_html/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile('/home/david_cal...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288875 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('PrestaShop\\\\Pres...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288878 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #2 /home/david_calcemi/public_html/app/cache/prod/appProdProjectContainer.php(2957): spl_autoload_call('PrestaShop\\\\Pres...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288880 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #3 /home/david_calcemi/public_html/app/bootstrap.php.cache(2248): appProdProjectContainer->getPrestashop_Module_ManagerService(), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288883 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #4 /home/david_calcemi/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php(92): Symfony\\Component\\DependencyInjection\\Container->get('prestashop.modu...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288893 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #5 /home/david_calcemi/public_html/controllers/admin/AdminDashboardController.php(302): PrestaShop\\PrestaShop\\Core\\Addon\\Module\\ModuleManagerBuilder->build(), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a [Sat Aug 19 19:24:48.288895 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #6 /home/david_ in /home/david_calcemi/public_html/app/bootstrap.php.cache on line 3225, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a Thank you!!
- 5 replies
-
- VIRTUALMIN
- HTTP
-
(and 8 more)
Tagged with:
-
Can't find ps_shop_url table on prestashop 1.7
DavidTech replied to DavidTech's topic in Configuring and using PrestaShop
OMG! Thank you so much, i was so dumb for not realizing that, +1 -
On this post doesn't show what to change on the .htaccess file, what should i modify on it?
-
Change domain name of shop directly in Database V 1.7
DavidTech replied to brunomorais's topic in General topics
I am facing the same exact problem. But i did not find the ps_shop domain on the prestashop 1.7 database, is that removed? I am using the version 1.7.1.2 Also, what do i need to modify on the .htaccess file in order to prevent the redirection from the remote server to localhost? Thank you for your time. Here is my .htaccess code which is apparently wrong and redirects to localhost, even if the website and database are on remote server. # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: localhost RewriteRule . - [E=REWRITEBASE:/prestashop/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/font-woff .woff AddType application/font-woff2 .woff2 <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /prestashop/index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again -
Hi, i got answered from the topic i opened yesterday and to fix my error i need to find the ps_shop_url table on the db and change the parameters there, but i cannot find that table, i am using prestashop v1.7.1.2 I saw on other posts users that did find the ps_shop_ur, is that my prestashop version? *All the tables on the database are on the images attached. Thank you very much guys!! Great work with the prestashop 1.7 version
-
Guys as @Scully said, i need to search for the ps_shop_url table in the database, but i cannot find it. So i suppose the error is on the .htaccess file, can someone check where is the error on my .htaccess file for the new calcemi.com domain? *The code of the .htaccess file is below. # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: localhost RewriteRule . - [E=REWRITEBASE:/prestashop/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/font-woff .woff AddType application/font-woff2 .woff2 <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /prestashop/index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
-
Thank you very much scully for letting me know this problem has already been solved by someone else, could you provide me the link to one of those questions since i did not find them ;(
-
When i go to the new url: http://calcemi.com it redirects in some way to localhost/prestashop. I think it is not a server error but somethinh on the prestashop files, i looked the db from top to bottom and i don't see any configuration beside the one which mentions the prestashop migrating tutorial (already modified). I migrated my prestashop (v1.7.1.2) from localhost/prestashop/ to my new VPS and did all the steps to migrate the prestashop on this post https://www.prestashop.com/en/blog/how-to-migrate-prestashop-to-a-new-server including the database modifications.
-
Moving from localhost to web server
DavidTech replied to Es Club Shop's topic in Configuring and using PrestaShop
We cannot help you with that error message, you should check you server error log and post it to us. -
Most stable verision of the 1.7.x
DavidTech replied to DavidTech's topic in Installing PrestaShop for the first time
Do you know any theme that is similar to the new default one on the 1.7 version? Or if i can move this theme to the 1.6?