Post by lokoprof » Sun Mar 20, 2011 8:34 am

After the upgrade I see the following error

Warning: require_once(DIR_SYSTEMstartup.php) [function.require-once]: failed to open stream: No such file or directory in /home/lakeshop/public_html/install/upgrade.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'DIR_SYSTEMstartup.php' (include_path='.:/usr/lib/php') in /home/lakeshop/public_html/install/upgrade.php on line 12

Please help, thanks

Newbie

Posts

Joined
Sun Mar 20, 2011 7:04 am

Post by Qphoria » Sun Mar 20, 2011 10:08 am

lokoprof wrote:After the upgrade I see the following error

Warning: require_once(DIR_SYSTEMstartup.php) [function.require-once]: failed to open stream: No such file or directory in /home/lakeshop/public_html/install/upgrade.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'DIR_SYSTEMstartup.php' (include_path='.:/usr/lib/php') in /home/lakeshop/public_html/install/upgrade.php on line 12

Please help, thanks
What are you upgrading from? Looks like you overwrote your config.php files so it can't find the path to DIR_SYSTEM. You'd best restore your backup and read the instructions carefully, especially the part about not overwriting existing config.php files.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by allenshea » Sun Mar 20, 2011 10:34 am

2011-03-19 18:06:36 - PHP Notice: Undefined variable: entry_account_mail in /home/content/75/5336675/html/online/admin/view/template/setting/setting.tpl on line 599
2011-03-19 18:06:36 - PHP Notice: Undefined variable: config_account_mail in /home/content/75/5336675/html/online/admin/view/template/setting/setting.tpl on line 600
mail.jpg

mail.jpg (28.07 KiB) Viewed 1322 times

2011-03-19 19:37:15 - PHP Notice: Undefined variable: name in /home/content/75/5336675/html/online/admin/view/template/catalog/product_form.tpl on line 9
product.jpg

product.jpg (46.93 KiB) Viewed 1321 times


Not sure if I haven't upgrade right, or is a bug.

I know nothing about PHP and SQL, but I still try my best to understand it.


Active Member

Posts

Joined
Mon Dec 14, 2009 10:01 pm

Post by Qphoria » Sun Mar 20, 2011 11:59 am

allenshea wrote:2011-03-19 18:06:36 - PHP Notice: Undefined variable: entry_account_mail in /home/content/75/5336675/html/online/admin/view/template/setting/setting.tpl on line 599
2011-03-19 18:06:36 - PHP Notice: Undefined variable: config_account_mail in /home/content/75/5336675/html/online/admin/view/template/setting/setting.tpl on line 600
This tells me either you didn't upload one or both of these files:
admin/controller/setting/setting.php
admin/language/english/setting/setting.php

2011-03-19 19:37:15 - PHP Notice: Undefined variable: name in /home/content/75/5336675/html/online/admin/view/template/catalog/product_form.tpl on line 9
This looks like my vQmod for showing the product name in the header of the product edit page

Neither appear to be bugs with opencart. The vQmod for the second one may need to be altered tho on my site with that same vqmod it just shows an empty space instead of that error.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by cargogirl » Fri Jul 17, 2015 12:15 pm

hi

i am getting the same error i n 2.0.2.0

Notice: Use of undefined constant DIR_CATALOG - assumed 'DIR_CATALOG' in /var/www/vhosts/mydomain.com/httpdocs/admin/controller/setting/setting.php on line 600

both setting files are in the appropriate directories.

every so often I lose my theme and it goes back to the default template and the setting/store template dropdown no longer works

I have to restore the databse

can you help?

ADG - Design, Development and Hosting in Australia


User avatar
New member

Posts

Joined
Fri Aug 23, 2013 2:11 pm
Who is online

Users browsing this forum: No registered users and 2 guests