• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Fred
  • Private: No
  • Open Date: 18.11.21, 12:43
  • Opened by: Craig
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22618 - after upgrade to Theme "Venedor" v.3.4.0 AMP isuues

Hi

After upgrading to Theme “Venedor” v.3.4.0 my amp setting have a issue.

See attached,

I have now disabled force to mobile.

Attachments:

AMP_Isse.JPG (78.9 KiB)

Comments

Fred 18 Nov 2021, 20:45

Hi, Craig.
Do you have an option to restore a backup?
We currently have small vacation with limited internet connection and hard to debug such problem in such conditions

Craig 03 Dec 2021, 10:09

Hi

Can you please have a look at my shop, page builder just goes round and round, can not make any changes.

Also can you please assist with the upgrade now? I am scared to try as I may get the same issues?

Thanks

Craig 03 Dec 2021, 11:29

Hi

I see you are logged into the back office, website is down?

Attachments:

error.JPG (136.5 KiB)
Fred 03 Dec 2021, 11:29

Wait a moment, in progress…

Craig 03 Dec 2021, 11:32

I have allowed your IP - 31.182.218.255 ??

Please try again

Fred 03 Dec 2021, 11:34

Something wrong with cache.
There is an error in the file https://take.ms/G6bvb

But even if I remove everything from that file the error is still the same.
Could you please disable all cache you are using?

Craig 03 Dec 2021, 11:44

I cant get to the performance page

Craig 03 Dec 2021, 11:47

I have placed the site into maintenance mode

Fred 03 Dec 2021, 11:49

I have completely disabled problematic module. Please try now

Craig 03 Dec 2021, 11:58

no luck, enabled the shop, same issue

Fred 03 Dec 2021, 12:04

Are the FTP credentials correct? Now changes in the front page if I edit files there

Craig 03 Dec 2021, 12:30

I have updated

Craig 03 Dec 2021, 12:31

Cache

Attachments:

chache1.JPG (106.6 KiB)
Craig 03 Dec 2021, 12:32

and ‘ps_caching’ ⇒ ‘CacheMemcached’,

It is and always has been enabled and working on the server, self managed.

Fred 03 Dec 2021, 13:35

Now back office is not available for me https://take.ms/LgMjl

Craig 03 Dec 2021, 13:38

I have restored from a backup, it was the only way for me.

Fred 03 Dec 2021, 13:39

Ok, I see

Craig 03 Dec 2021, 13:52

I wont make any changes now that you are in.

Can you connect to the ftp server?

also look at logs, have this

Backward compatibility for this method couldn\'t be handled. Use $this->registerJavascript() instead
Fred 03 Dec 2021, 14:03

Yes, I can connect now.
In what file I that warnings appear? - $this→registerJavascript
It’s not a bug and not necessary to change that

Craig 04 Dec 2021, 06:33

Hi Team, what is the plan? I restored from back - again.
Current issues are:

  1. Sticky menu not sticking on desktop version
  2. unable to use the page builder to make changes to the home page, footer, etc (Desktop)
  3. Same issue with AMP
  4. unable to upgrade

Please advise.

Thanks

Craig

Fred 04 Dec 2021, 12:26

You can update it once more, but you have to disable all cache before (and keep it disabled while you see some problems)
Also provide full access to your website via FTP to let me edit files if that will be necessary

Craig 04 Dec 2021, 13:55

Hi

So my current config is:

Smarty= on, tpe MYSQL
Caching is enable, type is CacheMemcache

I will change to:
Smarty = off
Caching = off

I also have JPresta - Speed Pack v7.7.10 - by JPresta.com, its currently disabled, must i uninstall first?

Please advise

Craig 04 Dec 2021, 14:05

So did the above, update says done but then back to the original issue that i opened this ticket for.

I have restored now for the third time from a backup, i cant afford to have the site down or offline like this.

Please advise how we move this forward…..

Thanks

Fred 04 Dec 2021, 17:18

I see only one way to move forward, make an update and fix the issue that will appear.

Craig 05 Dec 2021, 09:02

Morning, i have whitelisted your ip address, please let me know if it has changed

FTP server logon, address and password have been update, please test and let me know if you can access FTP before we start?

I have made progress:
Theme “Venedor” v.3.4.0
Theme Settings v.2.0.4
prestashop:1.7.7.5
php_version:7.1.33
memory_limit:256M

I can now access nthe page builder to make changes to the home page, footer, etc (Desktop)

Main issue seems to be amp, my previous settings are no longer there so have started building new profile. “amp” I have disabled forcing to amp for now.

Home page does not show
menu does not work unless i use custom links.

Thanks

Fred 06 Dec 2021, 12:34

Hi, Craig.
Yes, home page and FTP works for me. You can start update

Craig 06 Dec 2021, 12:55

Hi, i updated yesterday, says Theme “Venedor” v.3.4.0. Is that correct?

I can now access the page builder to make changes to the home page, footer, etc (Desktop)

Main issue seems to be amp, my previous settings are no longer there so have started building new profile. “amp” I have disabled forcing to amp for now.

Home page does not show
menu does not work unless i use custom links.

Thanks

Fred 06 Dec 2021, 12:55

Ok, I’ll check that out right now

Fred 06 Dec 2021, 12:59

- Page Builder works fine in back office

Craig 06 Dec 2021, 13:04

Look at www.foscam.co.za/mobile

Thats the issue.

Also i had a profile setup, it has disappeared from the select a profile, so i tried to setup “amp” as the new one.

Cheers

Craig 06 Dec 2021, 13:06

see attached

Attachments:

AMP_Isse_new.JPG (64.2 KiB)
Fred 06 Dec 2021, 13:19

I have enabled Debug Mode to be able to read error messages, now I see a problem caused by Memcached service
/home/foscamco/public_html/classes/cache/CacheMemcached.php on line 82
Could you please disable Memcached?

Craig 06 Dec 2021, 13:27

how do i do that if i cant access the back office?

Fred 06 Dec 2021, 13:28

I have disabled Debug Mode now, please check

Craig 06 Dec 2021, 13:32

done

Craig 06 Dec 2021, 13:43

I can acces the back office but my website is now down?

Craig 06 Dec 2021, 13:50

PHP log

Stack trace:
#0 /home/foscamco/public_html/config/alias.php(47): DbCore→escape(’configuration’, false)
#1 /home/foscamco/public_html/config/alias.php(52): pSQL(’configuration’)
#2 /home/foscamco/public_html/classes/Configuration.php(155): bqSQL(’configuration’)
#3 /home/foscamco/public_html/classes/Configuration.php(209): ConfigurationCore::loadConfiguration()
#4 /home/foscamco/public_html/classes/PrestaShopAutoload.php(171): ConfigurationCore::get(’PS_DISABLE_OVER…‘)
#5 /home/foscamco/public_html/classes/PrestaShopAutoload.php(130): PrestaShopAutoload→generateIndex()
#6 [internal function]: PrestaShopAutoload→load(’Tools’)
#7 /home/foscamco/public_html/config/config.inc.php(84): spl_autoload_call(’Tools’)
#8 /home/foscamco/public_html/admin510b0boqw/index.php(40): require(’/home/foscamco/…‘)
#9 {main}

thrown in /home/foscamco/public_html/classes/db/Db.php on line 794

[06-Dec-2021 14:34:33 Africa/Johannesburg] PHP Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Failed to remove directory “/home/foscamco/public_html/var/cache/prod/”: rmdir(/home/foscamco/public_html/var/cache/prod/): Directory not empty. in /home/foscamco/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:180
Stack trace:
#0 /home/foscamco/public_html/classes/Tools.php(3458): Symfony\Component\Filesystem\Filesystem→remove(Array)
#1 [internal function]: ToolsCore::{closure}()
#2 {main}

thrown in /home/foscamco/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 180

[06-Dec-2021 14:34:35 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:35:03 Africa/Johannesburg] PHP Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Failed to remove directory “/home/foscamco/public_html/var/cache/prod/”: rmdir(/home/foscamco/public_html/var/cache/prod/): Directory not empty. in /home/foscamco/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:180
Stack trace:
#0 /home/foscamco/public_html/classes/Tools.php(3458): Symfony\Component\Filesystem\Filesystem→remove(Array)
#1 [internal function]: ToolsCore::{closure}()
#2 {main}

thrown in /home/foscamco/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 180

[06-Dec-2021 12:35:04 UTC] PHP Fatal error: Uncaught Error: Class ‘Tools’ not found in /home/foscamco/public_html/classes/db/Db.php:794
Stack trace:
#0 /home/foscamco/public_html/config/alias.php(47): DbCore→escape(’configuration’, false)
#1 /home/foscamco/public_html/config/alias.php(52): pSQL(’configuration’)
#2 /home/foscamco/public_html/classes/Configuration.php(155): bqSQL(’configuration’)
#3 /home/foscamco/public_html/classes/Configuration.php(209): ConfigurationCore::loadConfiguration()
#4 /home/foscamco/public_html/classes/PrestaShopAutoload.php(171): ConfigurationCore::get(’PS_DISABLE_OVER…‘)
#5 /home/foscamco/public_html/classes/PrestaShopAutoload.php(130): PrestaShopAutoload→generateIndex()
#6 [internal function]: PrestaShopAutoload→load(’Tools’)
#7 /home/foscamco/public_html/config/config.inc.php(84): spl_autoload_call(’Tools’)
#8 /home/foscamco/public_html/admin510b0boqw/index.php(40): require(’/home/foscamco/…‘)
#9 {main}

thrown in /home/foscamco/public_html/classes/db/Db.php on line 794

[06-Dec-2021 14:36:16 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:36:21 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:38:24 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:38:54 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:39:03 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:39:40 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/db/DbPDO.php on line 209
[06-Dec-2021 14:40:04 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php on line 290
[06-Dec-2021 14:40:09 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php on line 290
[06-Dec-2021 14:41:03 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_createdata.php on line 38
[06-Dec-2021 14:41:09 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:41:12 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:41:44 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:42:00 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/classes/Hook.php on line 714
[06-Dec-2021 14:42:02 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:42:17 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ServerBag.php on line 32
[06-Dec-2021 14:42:54 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:43:03 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:43:04 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/classes/Hook.php on line 714
[06-Dec-2021 14:43:06 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/classes/Hook.php on line 714
[06-Dec-2021 14:43:32 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:43:53 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/foscamco/public_html/classes/Tools.php on line 508
[06-Dec-2021 14:44:49 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/db/DbPDO.php on line 209
[06-Dec-2021 14:45:22 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:45:32 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:46:17 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/db/DbPDO.php on line 209
[06-Dec-2021 14:46:45 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:46:54 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333
[06-Dec-2021 14:47:11 Africa/Johannesburg] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/foscamco/public_html/classes/module/Module.php on line 333

Fred 06 Dec 2021, 13:55

Give me a moment to check it out

Fred 06 Dec 2021, 14:32

Please try now, it should work

Craig 06 Dec 2021, 14:39

looks good, what was wrong and thank you.

Fred 06 Dec 2021, 14:40

Hard to explain, a lot of different small things

Craig 06 Dec 2021, 15:00

Please look at the amp page builder.

If i try to add or remove items from the menu builder i seem to get a 404 error, like the “Home” item. I have to create a custom link “https://www.foscam.co.za

Also changes to the home page builder don’t seem to reflect. Please just check it out, add a widget, change something and check the result or am i just been stupid?

Cheers

Fred 06 Dec 2021, 17:04

I just created a new menu layout with no errors https://take.ms/YvfWn

As for the AMP, see the screenshot - https://take.ms/ks6e3

Craig 06 Dec 2021, 20:06

Hi, not sure we are talking about the same thing.

1. AMP main menu builder, see attached screen shot, I can not change it. I want to add new link, call it “Home” with the url “https://www.foscam.co.za“. When i click save it disappears, does not save.

2.AMP home page builder does not have a HTML block widget in the page builder between banner and image gallery. Yet it does show in the wepage when you view the home page???? See attached two files. What template is it reading if not the one in page builder?

Theses are jut two issues but in short it means i can change or edit anything on my AMP website?

Do you not see the same from your side?

Thanks, i would like to put this to bed, its been open now from the 18th Nov.

Attachments:

ampmainmenubulder.JPG (73.6 KiB)
ampmenu.JPG (44.5 KiB)
ampHTMLbox.JPG (68.9 KiB)
amphtmbox1.JPG (47 KiB)
Craig 06 Dec 2021, 20:23

Hi, update, i have managed to fix the menu issue in AMP, the home page issue remains.

Fred 07 Dec 2021, 15:24

I don’t understand how that’s possible. The layout defined in the AMP builder is not the same as in the front page. Maybe you are using some cache that just display cached pages. Another option is that there is a mess of languages. Is the default language of front page English?

Craig 07 Dec 2021, 16:44

Hi, now you know how i feel…:)

So, see attached
Lang = Eng
Smarty set to file system, recompile when changed
Caching set to NO
JJ speed pack is disabled.

This all started way back on the first upgrade, before that all was fine, i could edit and change at will.

Please advise, you have full access to the admin back-office to confirm my settings.

Cheers

Attachments:

jj.JPG (31.1 KiB)
chaching.JPG (70.5 KiB)
smarty.JPG (40.9 KiB)
Lang.JPG (44.5 KiB)
Fred 08 Dec 2021, 19:22

Please disable Opcache in your server configuration

Craig 08 Dec 2021, 20:09

Done, did not even know it was enabled in the PHP Extensions, its been removed and EasyApache 4 re provisioned.

Fred 08 Dec 2021, 20:35

Now everything should work fine. Edit layout here https://take.ms/xt65F

Craig 08 Dec 2021, 20:36

You rock… Thank you so much, its now responsive and behaving as expected, thank you for your time and trouble.

Fred 08 Dec 2021, 20:36

You are welcome!
We would be grateful for supporting our theme if you like it and our service. You could rate it here http://themeforest.net/downloads