Post by wowliving » Fri Jul 30, 2021 11:48 am

Hi everyone, I used Filezilla to cope over files from 3.0.3.7, except for the config-dist.php and admin/config-dist.php files (so I don't overwrite my existing config.php files.

When I went to www.(mysite).com/install it comes up with this error:

Notice: Constant DB_DRIVER already defined in /home/wowlivin/public_html/install/controller/startup/database.php(9) : eval()'d code on line 1Notice: Constant DB_HOSTNAME already defined in /home/wowlivin/public_html/install/controller/startup/database.php(9) : eval()'d code on line 1Notice: Constant DB_USERNAME already defined in /home/wowlivin/public_html/install/controller/startup/database.php(9) : eval()'d code on line 1Notice: Constant DB_PASSWORD already defined in /home/wowlivin/public_html/install/controller/startup/database.php(9) : eval()'d code on line 1Notice: Constant DB_DATABASE already defined in /home/wowlivin/public_html/install/controller/startup/database.php(9) : eval()'d code on line 1Notice: Constant DB_PORT already defined in /home/wowlivin/public_html/install/controller/startup/database.php(9) : eval()'d code on line 1Notice: Constant DB_PREFIX already defined in /home/wowlivin/public_html/install/controller/startup/database.php(9) : eval()'d code on line 1Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /home/wowlivin/public_html/system/library/db/mysqli.php on line 7

I proceeded to www.(mysite).com/admin, and I have problems accessing the list of orders, an error page appeared:
Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /home/wowlivin/storage/modification/system/engine/action.php on line 79

I went ahead and corrected some files with line
"deleteApiSessionBySessonId" to
"deleteApiSessionBySessionId",

which gave me access to access each customer's orders, but still not the list.

I've been told to check my database information in config.php and admin/config.php again because my database information is incorrect. But I didn't overwrite my config.php files. I have no coding knowledge so if anyone can give me a walkthrough how to fix this please that would be much appreciated!

Thanks :)

Newbie

Posts

Joined
Mon Mar 27, 2017 9:34 am

Post by ADD Creative » Fri Jul 30, 2021 4:42 pm

First check your config.php for duplicate DB_DRIVER, DB_HOSTNAME, DB_USERNAME, etc.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Kd7gxw » Tue Aug 17, 2021 11:51 pm

Good Morning I too am suffering a error during Upgrade from 3.03.02 to 3.03.07
I received this error after invoking mysite.com/install things were going well upgraded 9 of 10 and then threw this error

Error Code(0): Error: Incorrect datetime value: '0000-00-00 00:00:00' for column 'date_added' at row 1
Error No: 1292
ALTER TABLE `ocmy_event` ADD `date_added` DATETIME NOT NULL AFTER `status` in /home1/kd7gxw/public_html/system/library/db/mysqli.php on line 41
Image
I am a complete noob and I apologize now in advance for my ignorance but I gotta start somewhere right?

www.taterstoyshoppe.com is url The install is stock excepting a couple of extensions installed
Also here is error log

0021-0816 23:20:56 - PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home1/kd7gxw/public_html/admin/controller/setting/setting.php on line 343
2021-08-16 23:25:10 - PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home1/kd7gxw/public_html/admin/controller/setting/setting.php on line 343
2021-08-17 4:59:33 - PHP Notice: Undefined index: product_id in /home1/kd7gxw/public_html/catalog/model/account/return.php on line 4
2021-08-17 4:59:33 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home1/kd7gxw/public_html/catalog/controller/startup/error.php:34) in /home1/kd7gxw/public_html/system/library/response.php on line 36
2021-08-17 4:59:34 - PHP Notice: Undefined index: product_id in /home1/kd7gxw/public_html/catalog/model/account/return.php on line 4
2021-08-17 4:59:34 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home1/kd7gxw/public_html/catalog/controller/startup/error.php:34) in /home1/kd7gxw/public_html/system/library/response.php on line 36

Any help would be greatly appreciated And Thank you in advance vito@taterstoyshoppe.com Vito 928-634-5545

Attachments

2021-08-17_8-44-58.jpg

2021-08-17_8-44-58.jpg (57.39 KiB) Viewed 542 times

dberror.jpg

dberror.jpg (94.04 KiB) Viewed 542 times


Newbie

Posts

Joined
Thu May 07, 2020 9:14 am

Post by ADD Creative » Wed Aug 18, 2021 5:10 pm

See https://github.com/opencart/opencart/is ... -774502931 for the incorrect datetime value error.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 52 guests