Re: Smart Search and PHP7
yes, my line 793 is: $dirs[] = array_merge($file, self::dirstats($filename));
nope, same results. Code:
[15-Jun-2017 23:22:48 UTC] PHP Fatal error: Cannot use "self" when no class scope is active in /home/xxx/public_html/store478up/modules/Checkout_One/checkout_one_functions.php on line 793 |
Re: Smart Search and PHP7
Quote:
OH I see.. I changed the 'self' to '$this' so use $dirs[] = array_merge($file, $this->dirstats($filename)); instead of $dirs[] = array_merge($file, self::dirstats($filename)); forgot that change. -Matt |
Re: Smart Search and PHP7
thanks, now the add to cart works, but when I go to the checkout page, I get a blank page. looking in logs now.. I'll let you know.
|
Re: Smart Search and PHP7
any new errors in the log files?
|
Re: Smart Search and PHP7
No php errors, but I get shipping error log update:
Code:
[16-Jun-2017 17:53:17] (shop: 16-Jun-2017 10:53:17) SHIPPING warning: |
Re: Smart Search and PHP7
even stranger, I no longer see Checkout One in my module list. It is still running that checkout page fine though.
|
Re: Smart Search and PHP7
I can see the module in the tables fine and its active in the tables, but its no longer showing on the admin side.
|
Re: Smart Search and PHP7
Quote:
did you run checkout_one_sql.php ? that is in the uploads folder of the mod.. it adds the values to the config table in order to show the mod under modules and also lets you change the settings. for the shipping module error.. I don't know about that, I don't use any shipping calculation modules.. they might be incompatible. I hacked my system so the shipping values change per SKU depending on where the item is located.. similar to what amazon does with their shipping templates.. |
Re: Smart Search and PHP7
for the blank page issue.. double check that the @db_query or @mysql_query thing has been fixed.. that took me 4ever to debug..
|
Re: Smart Search and PHP7
It WORKS!! The little grep -r --include="*.php" "@mysql_query" didnt work, i had to manually go through them and found a bunch that didnt update. Thanks!
Any other snafu's I should know about with php7? |
All times are GMT -8. The time now is 06:53 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.