AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: felani on June 26, 2016, 10:26:32 PM

Title: Error Processing
Post by: felani on June 26, 2016, 10:26:32 PM
Hi, I need some help..

I'm facing an error when opening my store and also can't access admin site and this is the error in log file.

2016-06-27 2:03:53 - warning:  AbanteCart core v.1.2.4 mysqli::mysqli(): (28000/1045): Access denied for user 'swe10000_aban300'@'localhost' (using password: YES) in <b>/home/swe10000/public_html/store/core/database/amysqli.php</b> on line <b>46</b>
2016-06-27 2:03:53 - database error:  AbanteCart core v.1.2.4 Error: Could not make a database connection to database swe10000_aban300 using swe10000_aban300@localhost in <b>/home/swe10000/public_html/store/core/database/amysqli.php</b> on line <b>48</b>

anyone can help?
Title: Re: Error Processing
Post by: felani on June 27, 2016, 12:49:41 AM
I try to set back the DB password both at MySQL DB and config.php but now this error appear;

2016-06-27 4:43:08 - error:  AbanteCart core v.1.2.4 Call to undefined method ACache::stats() in <b>/home/swe10000/public_html/store/index.php</b> on line <b>100</b>

line 100 @ index.php

ADebug::variable('Cache statistics: ', $registry->get('cache')->stats() . "\n");

Anyone can help?
Title: Re: Error Processing
Post by: abolabo on June 27, 2016, 03:27:10 AM
you should delete all subdirectories of system/cache folder.
then try to login into admin side ad disable debug in your settings
Title: Re: Error Processing
Post by: felani on June 27, 2016, 03:49:35 AM
Ok, I already delete, but still can't access admin site, the Page not found and i check in the log, result same error as before

error:  AbanteCart core v.1.2.4 Call to undefined method ACache::stats() in <b>/home/swe10000/public_html/store/index.php</b> on line <b>100</b>

Title: Re: Error Processing
Post by: felani on June 27, 2016, 05:00:26 AM
Already disable debug using phpMyAdmin, also won't work..  :-\
Title: Re: Error Processing
Post by: abolabo on June 27, 2016, 06:35:20 AM
probably you forgot remove cache manually after db edit.
i mean subfolders inside system/cache
Title: Re: Error Processing
Post by: abolabo on June 27, 2016, 06:37:56 AM
also you can compare your index.php file with 1.2.4 released
Title: Re: Error Processing
Post by: felani on June 27, 2016, 07:03:36 AM
may I know where I can refer the php file?
Title: Re: Error Processing
Post by: abolabo on June 27, 2016, 11:09:42 AM
all downloads  here (https://drive.google.com/folderview?id=0B64_ELUMJQjJfms3U2Y5WDZycmQ2bXFkY2JxNmY1Qkp6QmpNUGo2ck5UYWF0ek44bnBiNVE&usp=drive_web#list)
Title: Re: Error Processing
Post by: felani on June 27, 2016, 11:15:18 PM
Thanks Abolabo! finally my store can open.. :D

admin site also can open now, but I can't access in it because its show my pw and username didn't match.

I try to reset the password but now its tell the reset password hash is not valid. what does it mean?
Title: Re: Error Processing
Post by: abolabo on June 28, 2016, 04:12:06 AM
Abantecart use SALT for password hash creation. You can find it in your system/config.php file.. see SALT constant.
also see static function getHash in core/lib/encryption.php for details.
Title: Re: Error Processing
Post by: felani on August 15, 2016, 06:32:24 AM
Hi Abolabo,

My store can be view as normal but until now my admin site can''t logging in, i can't settle the reset password hash problem because i don't know maybe the system/config.php broken (or) not match and i don't have a backup file. What other option to solve this problem? is it i need to re install abantecart and install new one?
Title: Re: Error Processing
Post by: Basara on August 15, 2016, 09:15:49 AM
Hi.
Try this tip http://forum.abantecart.com/index.php/topic,547.msg1688.html#msg1688
Title: Re: Error Processing
Post by: felani on August 16, 2016, 03:26:57 AM
Hi Basara,

Its not working.

Fatal error: Call to a member function editUser() on a non-object in /home/swe10000/public_html/store/admin/controller/pages/index/forgot_password.php on line 55

Title: Re: Error Processing
Post by: Basara on August 16, 2016, 03:30:50 AM
Hi.
Your 1.2.4 cart is outdated I suggest to install latest 1.2.8 AbanteCart