News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Error Processing

Started by felani, June 26, 2016, 10:26:32 PM

Previous topic - Next topic

felani

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?

felani

#1
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?

abolabo

you should delete all subdirectories of system/cache folder.
then try to login into admin side ad disable debug in your settings
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

felani

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>


felani

Already disable debug using phpMyAdmin, also won't work..  :-\

abolabo

probably you forgot remove cache manually after db edit.
i mean subfolders inside system/cache
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

abolabo

also you can compare your index.php file with 1.2.4 released
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

felani

may I know where I can refer the php file?

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

felani

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?

abolabo

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.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

felani

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?


felani

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


Basara

Hi.
Your 1.2.4 cart is outdated I suggest to install latest 1.2.8 AbanteCart

Forum Rules Code of conduct
AbanteCart.com 2010 -