News:

Support the VirtueMart project and become a member

Main Menu

VM3 White Screen of Death - Tried and Failed to Fix

Started by rbongartz, April 11, 2015, 18:22:45 PM

Previous topic - Next topic

rbongartz

VM: 3.0.6.4
Joomla: 3.4.1

Everything was fine until I changed the name of one of my categories. All of a sudden none of my VM pages show up. My articles and home page ect all work fine however.

This is a list of what I've tried after reading many threads:

1. Check server error logs -- nothing at all

2. Enable vmdebug and debug messages -- I get the following on the front end:

vmdebug PHP 5.3

vmdebug Show All Errors

vmdebug $siteLang: en-GB self::$_jpConfig->lang en_gb

vmdebug vmTime: time to load config: 0.00612092018127441

vmdebug Start used Ram 7M

vmdebug Going to set pw fields unrequired

vmdebug End used Ram 13M

vmdebug Peak memory peak 13M

vmdebug getST STsameAsBT is set, use BT

vmdebug getST STsameAsBT is set, use BT


---- And I get the following on the backend:

vmdebug PHP 5.3

vmdebug Show All Errors

vmdebug $siteLang: en-GB self::$_jpConfig->lang en_gb

vmdebug vmTime: time to load config: 0.00564098358154297

vmdebug Start used Ram 6.5M

vmdebug vmTime: VirtueMartControllerConfig Finished task config: 0.724425792694092

vmdebug End used Ram 10M

vmdebug Peak memory peak 10M


3. My host can't go above 128 mb for PHP resources. This could be the issue but I'm not convinced.

4. Reinstall VM --> Nothing. Maybe a different version would do the trick?

5. Oddly clicking the VM AIO component brings me to this error:
404 component not found
   -- However when I install the VM AIO I get installation success messages and a list of all the updated plugins

6. I even went into my PHP database and tried changing en-GB to en_gb but that was only met with a different error so I changed everything back -- maybe I missed one?
   -- As I understand this is a common issue when changing languages but I didn't (to my knowledge) do any of that -- as I stated before the error occurred only after changing one of my category names.. And I do have the option selected to use English as a fallback

7. Shopper group configuration: None of my items are associated with a shopper group and have "available to all" in the box. I tried selecting different shopper groups and it has no effect.

8. VM configuration page template overrides -- tried with both no override and selecting my template -- no help. Even tried using the Beez template to no effect.


Any help would be awesome and I will continuously check back to post any relevant/requested info

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rbongartz

Thank you for replying, Milbo.

I installed the new VM version --> no change. Still getting the 404 when I click the AIO option by the way

I changed error reporting from admin only to all. Is that what you were referring to?

Front end message:

vmdebug PHP 5.3

vmdebug Show All Errors

vmdebug $siteLang: en-GB self::$_jpConfig->lang en_gb

vmdebug vmTime: time to load config: 0.0159168243408203

vmdebug Start used Ram 7.25M

vmdebug End used Ram 11.5M

vmdebug Peak memory peak 11.5M

vmdebug Going to set core fields unrequired


Back end:


Message

vmdebug PHP 5.3

vmdebug Show All Errors

vmdebug $siteLang: en-GB self::$_jpConfig->lang en_gb

vmdebug vmTime: time to load config: 0.00559496879577637

vmdebug Start used Ram 6.5M

vmdebug vmTime: VirtueMartControllerProduct Finished task product: 0.403420925140381

vmdebug End used Ram 13.75M

vmdebug Peak memory peak 13.75M



One thing I forgot to mention in my first post is that when I uploaded my site's backup via FTP, one file failed to transfer: configuration.php

GJC Web Design

if configuration.php was missing the site wouldn't work at all... probably on 444 permissions  etc

QuoteAll of a sudden none of my VM pages show up

what does this mean?  404, 500 server error, what?

why don't you post a live link?

what happens with www.yoursite.com/index.php?option=com_virtuemart ?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

reinhold

Usually, for me the only way to get a proper error message and backtrace is to set Joomla's error reporting to "Developer" (in the Joomla backend go to the Menu "System" => "Global Configuration" => Tab "Server" => set "Error Reporting" to "Development").

Best regards,
Reinhold

rbongartz

I get no numbered error (404, 500, ect). Just my category header with blank space right below. I wasn't sure if live links were acceptable but the idea of www.mysite.com/index.php?option=com_virtuemart  actually gave me something!

The error message:

Notice: Trying to get property of non-object in /hermes/bosnaweb05a/b757/ipw.madvertising/public_html/Joomla3/templates/hera_j3_vm3/html/com_virtuemart/sublayouts/categories.php on line 29

I've tried changing templates to Beez3 but I don't get much of anything with that layout. Only the messages I've posted before.

Here is a live link to category view of all products:

http://manchesterwoodcraft.com/index.php/shop/all-products

Also, I changed from maximum reporting to development. Haven't noticed any changes.

jenkinhill

#6
Quote from: rbongartz on April 11, 2015, 19:15:07 PM
Still getting the 404 when I click the AIO option by the way

See http://forum.virtuemart.net/index.php?topic=127756.msg438201#msg438201
http://forum.virtuemart.net/index.php?topic=126403.msg436176#msg436176


And what is the exact PHP version on the server, the error report just shows PHP5.3
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

rbongartz

My apologies about not searching for the AIO (non)issue. Thank you for taking the time to direct me, one less thing that's on my mind.

I went into my hosting account and all it says is PHP 5.3. Within that documentation I "control-f" for "PHP 5.3." and the only match was for 5.3.0 --> later confirmed by the sometimes questionable tech support.
There is also a drop-down that allows me to select between 4, 5.2, and 5.3

If it is of any importance, on my database home screen it has this info:
MySQL - 5.5.32
phpMyAdmin - 2.8.0.1


I re-checked my error log and now have two showing up:

20150411T135007: manchesterwoodcraft.com/index.php
PHP Notice:  Trying to get property of non-object in /hermes/bosnaweb05a/b757/ipw.madvertising/public_html/Joomla3/templates/hera_j3_vm3/html/com_virtuemart/sublayouts/categories.php on line 29
PHP Notice:  Trying to get property of non-object in /hermes/bosnaweb05a/b757/ipw.madvertising/public_html/Joomla3/templates/hera_j3_vm3/html/mod_virtuemart_cart/default.php on line 11

GJC Web Design

Your post is totally wrong .. this isn't a white screen - i.e a server error!

there is no server error.. the html of the cat page is all there.. it just isn't returning products - this is a config error somewhere in VM

so you can switch off all your error reporting (the "errors" you post also aren't errors - they are NOTICES.. totally different thing .. and not the source of this problem - although may be caused by the problem)

1st thing is switch OFF all SEF - how can you troubleshoot a site if the urls are meaningless?

SEF is the LAST thing you switch on before going live

Then carefully check all your settings in VM.. shopper group stuff etc etc

If you can't find it then you have to look at some Joomla debug to see what the actual queries are.. BTW - what cats are supposed to have products
and can you reach a product directly?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rbongartz

My apologies GJC, I am trying my best but as you can tell, I am a total beginner in web dev. Thank you for your time and the clarifications.

So I turned off error reporting and SEF -- Lo and behold my products are now showing! Everything is smooth from home page to paypal.

As for your questions:

All categories have products and I was not able to reach a product directly before.



Lastly, I went into system info -> PHP info and found out the PHP version is listed as 5.3.13 instead of what I and my host provider previously stated as 5.3.0


Unsure if this qualifies as "solved" but I want to thank everyone who replied and took the time to help out. Without the support of this community my little website would be nothing more than a dream.

GJC Web Design

But it should be possible to run with SEF on - obviously much better for SEO...

Have you tried a hidden published menu to the VM frontpage?  Call it perhaps "Products"

then switch on the SEF and see what happens
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Quote from: rbongartz on April 11, 2015, 19:57:08 PM
Notice: Trying to get property of non-object in /hermes/bosnaweb05a/b757/ipw.madvertising/public_html/Joomla3/templates/hera_j3_vm3/html/com_virtuemart/sublayouts/categories.php on line 29

Is a notice in your Hera template. It seems it is reasoned as GJC already said by a wrong configuration. Somehow there are no products in your category.

What is with your language? do you use the fallback?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rbongartz

Milbo, GJC -- you were correct! It was a configuration issue relating to the template. I contacted the template provider who did some sort of wizardry and straitened it all out. Thank you all for helping. Even though I didn't personally fix the issue I learned a lot and will be better prepared to do some troubleshooting the next time around.

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/