Post by DannyMacD » Tue Aug 16, 2016 9:02 pm

for some reason when i go to my site it has a blank screen.

nothing new added. just a blank screen.

the admin still work fine.

how do i find out whats causing this?

site is: https://shop.disifin.co.uk

thank you
Last edited by DannyMacD on Thu Aug 25, 2016 4:27 pm, edited 1 time in total.

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Tue Aug 16, 2016 9:05 pm

Check your error log for clues

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by DannyMacD » Tue Aug 16, 2016 9:08 pm

silly question, where are they? its switched on in admin. the VQMod Logs are fine.

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by DannyMacD » Tue Aug 16, 2016 9:10 pm

i checked in tools but get this:
Screen Shot 2016-08-16 at 14.09.21.png

logs - Screen Shot 2016-08-16 at 14.09.21.png (75.88 KiB) Viewed 3864 times


Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by DannyMacD » Tue Aug 16, 2016 9:23 pm

so i found the log file and it has the following: (Not sure what this means, any advise?)

2016-08-16 12:47:16 - PHP Notice: Undefined variable: analytics in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqcache/vq2-catalog_view_theme_default_template_common_header.tpl on line 45
2016-08-16 12:47:16 - PHP Warning: Invalid argument supplied for foreach() in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqcache/vq2-catalog_view_theme_default_template_common_header.tpl on line 45
2016-08-16 12:49:46 - PHP Notice: Trying to get property of non-object in /home/disifin/web/shop.disifin.co.uk/public_html/admin/controller/extension/modification.php on line 442
2016-08-16 12:49:46 - PHP Unknown: Object of class DOMElement could not be converted to string in /home/disifin/web/shop.disifin.co.uk/public_html/admin/controller/extension/modification.php on line 99
2016-08-16 12:55:20 - PHP Notice: Trying to get property of non-object in /home/disifin/web/shop.disifin.co.uk/public_html/admin/controller/extension/modification.php on line 442
2016-08-16 12:55:21 - PHP Unknown: Object of class DOMElement could not be converted to string in /home/disifin/web/shop.disifin.co.uk/public_html/admin/controller/extension/modification.php on line 99

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by DannyMacD » Tue Aug 16, 2016 11:07 pm

ok. so.. after searching google i found the following useful post!

http://forum.opencart.com/viewtopic.php?f=144&t=50555

now the error i have on the homepage is this:


Fatal error: Cannot redeclare ControllerCommonSeoUrl::slugify() in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqcache/vq2-system_storage_modification_catalog_controller_common_seo_url.php on line 115


what does this mean please?

greatly appreciated.

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by DannyMacD » Wed Aug 17, 2016 1:38 am

also (again sorry for not spotting earlier).

in the admin section, when i navigate to an order i get the following pop up message:

Attachments

Screen Shot 2016-08-16 at 18.37.28.png

error2 - Screen Shot 2016-08-16 at 18.37.28.png (74.73 KiB) Viewed 3815 times


Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Wed Aug 17, 2016 1:43 am

Most of them look like extension/mod errors.

I would disable your mods one by one, refreshing the cache and vqmod/vqcache each time until the error disappears.

Then you will know which mods is causing trouble

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by DannyMacD » Wed Aug 17, 2016 1:47 am

cyclops12 wrote:Most of them look like extension/mod errors.

I would disable your mods one by one, refreshing the cache and vqmod/vqcache each time until the error disappears.

Then you will know which mods is causing trouble

thank you.

so disabling all VQMods, i get the following error now:
Fatal error: Class 'controllercommon' not found in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php on line 28

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Wed Aug 17, 2016 1:55 am

Have you completely cleared the vqmod/vqcache folder ?

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by DannyMacD » Wed Aug 17, 2016 1:58 am

yup.

i then refresh the homepage, the files regenerate but the error is still there.

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Wed Aug 17, 2016 2:34 am

could you post that file here

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by DannyMacD » Wed Aug 17, 2016 2:55 am

error is:

Fatal error: Class 'controllercommon' not found in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqcache/vq2-system_engine_loader.php on line 28

file is here (hope this works!)

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Wed Aug 17, 2016 5:19 am

The only main difference i can see in that file is on line 17 you have

Code: Select all

			$class = 'controller' . preg_replace('/[^a-zA-Z0-9]/', '', implode('/', $parts));
and in the default file it is

Code: Select all

			$class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', implode('/', $parts));
Maybe try either editing that file n your cpanel or edit it with notepad or similar and upload it to the vqcache folder and see if that makes any difference.

Dont refresh in extension/modifications once you have uploaded it incase it gets changed back again, just refresh your browser and see what happens

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by DannyMacD » Wed Aug 17, 2016 4:10 pm

so now the error has slightly changed to:

Fatal error: Class 'Controllercommon' not found in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqcache/vq2-system_engine_loader.php on line 28

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Thu Aug 18, 2016 12:53 am

Silly question but i suppose you still have a folder called "common" in catalog/controller ??

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by DannyMacD » Thu Aug 18, 2016 4:11 pm

cyclops12 wrote:Silly question but i suppose you still have a folder called "common" in catalog/controller ??
i do yes.

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Fri Aug 19, 2016 12:57 am

Has you installed vqmod lately or has it been there for a while ??
It is definately to do with the vqmod.

Perhaps save your vqmod/xml folder or rename it and remove vqmod completely to see it that gets rid of the errors.
I would download all the xml files you have in vqmod/xml folder to your pc so you can always upload them again afterwards.

Unless someone else has any ideas i cant think of anything else

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by DannyMacD » Fri Aug 19, 2016 3:57 pm

so,

with VQMods removed from the XML directory (but the vqmod_opencart.xml file still in vqmod/xml folder) i get the following error:

Fatal error: Class 'controllercommon' not found in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php on line 28

with VQMods removed from the XML directory (and the vqmod_opencart.xml file removed from vqmod/xml folder) i get the following error:

Warning: Invalid argument supplied for foreach() in /home/disifin/web/shop.disifin.co.uk/public_html/vqmod/vqmod.php on line 224

Fatal error: Class 'controllercommon' not found in /home/disifin/web/shop.disifin.co.uk/public_html/system/ storage/modification/system/engine/loader.php on line 28

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by cyclops12 » Fri Aug 19, 2016 4:29 pm

The storage/modification folder holds all the ocmods you have installed.
What ocmods have you installed, have you tried disabling them one at a time and refreshing to see if the error goes away?
Clear all logs first then try otherwise you may be looking at an old error

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am
Who is online

Users browsing this forum: Amazon [Bot], darkhorse and 65 guests