News:

Looking for documentation? Take a look on our wiki

Main Menu

Backend error when clicking "Media Files"

Started by rhinopm, March 01, 2017, 19:16:11 PM

Previous topic - Next topic

rhinopm

Using Virtuemart 3.0.18 & Joomla 3.6.5

While logged in the back end as Super Administrator, everything works fine until I hit "Media Files" in Virtuemart.  It goes to a page that appears to have a css error (screenshots attached) .  I've tried un-installing and re-installing only to get the same results.  Please HALP!

Studio 42

This is a because a PHP error.
Change in Joomla Global config > Server > Server Settings : PHP reporting to maximum, this should display you the error.
Else you need to enable in your server PHP error reporting and check your php error.log

rhinopm

OK - I did those things... set error reporting to maximum - it shows no error:

Message
vmdebug PHP 5.4
vmdebug Show All Errors
vmdebug LangCount: 1 $siteLang: en-GB self::$vmlangSef: en self::$_jpConfig->lang en_gb DefLang en_gb
vmdebug vmTime: time to load config: 0.00225114822387695
vmdebug Start used Ram 16M
vmdebug isSuperVendor Not a vendor
vmdebug getVendorId normal shopper
vmdebug vmTime: sortSearchQuery products: 0.000403165817260742
vmdebug Going to set core fields unrequired
vmdebug Created new Calculator Instance
vmdebug End used Ram 24.25M
vmdebug Peak memory peak 24.25M
vmdebug vmTime: vm view Finished task : 0.0577468872070312

Jörgen

Quote from: rhinopm on March 02, 2017, 02:40:58 AM
OK - I did those things... set error reporting to maximum - it shows no error:

Message
vmdebug isSuperVendor Not a vendor
vmdebug getVendorId normal shopper

This looks strange, are You logged as vendor ?

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42

Have you changed php error reporting in Joomla ?
If yes, try to find your php error.log file, it seems that you don't have enabled error display, so only way to see your bug is in this file.
In some case error.log is in your Joomla root folder or in administrator folder, in other case this can be in the log folder. If you don't find it check with your server support.

rhinopm

This is what was in my error log file:

[23-Feb-2017 13:16:56 UTC] PHP Warning:  file_put_contents(/170223.ini): failed to open stream: Permission denied in /home/fishpost/public_html/libraries/joomla/filesystem/file.php on line 440
[23-Feb-2017 20:54:48 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 101
[23-Feb-2017 20:54:48 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 226
[23-Feb-2017 20:56:15 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 101
[23-Feb-2017 20:56:15 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 226
[23-Feb-2017 20:56:50 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 101
[23-Feb-2017 20:56:50 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 226
[23-Feb-2017 20:57:47 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 101
[23-Feb-2017 20:57:47 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/fishpost/public_html/components/com_virtuemart/sublayouts/customfield.php on line 226
[02-Mar-2017 01:42:40 UTC] PHP Fatal error:  'break' not in the 'loop' or 'switch' context in /home/fishpost/public_html/components/com_onepage/overrides/vmplugin.php on line 1273
[02-Mar-2017 01:42:55 UTC] PHP Fatal error:  'break' not in the 'loop' or 'switch' context in /home/fishpost/public_html/components/com_onepage/overrides/vmplugin.php on line 1273

Studio 42

Contact onepage developer, and copy your bug report in the mail so they can fix it.
Quote[02-Mar-2017 01:42:55 UTC] PHP Fatal error:  'break' not in the 'loop' or 'switch' context in /home/fishpost/public_html/components/com_onepage/overrides/vmplugin.php on line 1273