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

help with errors in error log

Started by wiggly, July 02, 2020, 03:38:39 AM

Previous topic - Next topic

wiggly

Hi Guys,

We seem to be having a little problem with our site in the error log:

2020-07-01 16:52:39 - warning: AbanteCart core v.1.2.11 Use of undefined constant INSTALL - assumed 'INSTALL' (this will throw an Error in a future version of PHP) in <b>/home/site/public_html/core/engine/language.php</b> on line <b>66</b>

and

2020-07-01 16:52:39 - warning: AbanteCart core v.1.2.11 count(): Parameter must be an array or an object that implements Countable in <b>/home/site/public_html/core/engine/view.php</b> on line <b>569</b>
2020-07-01 16:52:39 - warning: AbanteCart core v.1.2.11 count(): Parameter must be an array or an object that implements Countable in <b>/home/site/public_html/core/engine/view.php</b> on line <b>571</b>

These last two lines continuously appear in the log file, over and over...

after updating to newer versions the errors are still there, just a different version number.

Any help would be fantastic, and fixes please explain simply.
Thanks

Amdy

Basara

Hello.

If you upgrade to latest version please clear all AbanteCart caches and if some  new warning in the log post here

wiggly

all caches cleared,

same errors return...

Andy

Basara


wiggly


abolabo

it's a php7 warnings, not errors, Please ignore them. Or just upgrade cart at least v1.2.15
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

wiggly

#6
it seemed like I was getting update messages though every day, so I upgraded to v1.2.12 and just did v1.2.13 (getting to v1.2.16 eventually)

however, 1.2.13 ended with the following message:

There has been a critical error processing your request
SQL Error: Unknown column 'title' in 'abiq_store_descriptions'
Error No: 1054
SQL: ALTER TABLE `abiq_store_descriptions` CHANGE COLUMN `description` `description` LONGTEXT NULL DEFAULT '' COMMENT 'translatable' , CHANGE COLUMN `title` `title` LONGTEXT NULL DEFAULT '' COMMENT 'translatable' , CHANGE COLUMN `meta_description` `meta_description` LONGTEXT NULL DEFAULT '' COMMENT 'translatable' , CHANGE COLUMN `meta_keywords` `meta_keywords` LONGTEXT NULL DEFAULT '' COMMENT 'translatable' ; in /home/site/public_html/core/database/amysqli.php on line 109

think its more broken now..

Andy



on a plus side, that update did stop the errors that I started the post with...

Basara

Hello.

If some tables are missing that means some of the upgrades are fail. Try to upgrade manually https://abantecart.atlassian.net/wiki/spaces/AD/pages/5275676/Upgrade+manually

wiggly

#8
there's a new error in the logs now (the same line over and over again)

2020-07-02 15:58:06 - warning: AbanteCart core v.1.2.13 Use of undefined constant CACHE_DRIVER - assumed 'CACHE_DRIVER' (this will throw an Error in a future version of PHP) in <b>/home/site/public_html/core/helper/system_check.php</b> on line <b>116</b>

I've looked at the manual upgrade page,  and can see where to download all the versions.
But, where to start - how do I know which update is the root of these problems ?

also, I can probably cope with downloading and coping files, but sql is an area I've not touched, and even my php knowledge is basic at best  :)

one thought was to delete the entire site and start from fresh (which won't help me learn with future update issues), also it would be a pain to try to reload the database and
the modified php pages. etc.

The site does still appear to work, but even slightly broken will cause issues with future updates, and may even stop it from working in the future.

Andy.

PS.

I've noticed that the shipping options are no longer working on the checkout page:

Error: No Shipping options are available. Please contact us for assistance!

There were two shipping options available, flat rate and free over a certain price.  and had been working previously (before my update issues)
is this cache driver error the reason for this problem ??

Andy


Basara

Quote from: wiggly on July 02, 2020, 11:18:06 AM


Error: No Shipping options are available. Please contact us for assistance!

There were two shipping options available, flat rate and free over a certain price

Andy

Go to the shipping method settings page and click save

wiggly

#10
clicked save on both pages,

still have the same problem.

got it.
there was no value in the flat rate shipping.

now to look at the free shipping extension.

Forum Rules Code of conduct
AbanteCart.com 2010 -