News:

Support the VirtueMart project and become a member

Main Menu

Product Pages showing up blank

Started by xniickiidx, May 14, 2015, 15:28:32 PM

Previous topic - Next topic

xniickiidx

System: Joomla! 2.5.27
Version: VirtueMart 2.6.18

The website I am building: http://www.alanabellclothing.co.uk/boutique/index.php/clothing

When I try click on any of the products I have created and linked into the categories the page just shows up blank, am i linking these up wrong because I have never had this problem before?
Even if i just create a page to link directly to a product and its details it still has the same problem?

If anyone can help then Thanks in advance.  :)

jenkinhill

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

xniickiidx

I have followed your link and checked the recent logs and the following are showing

alanabellclothing.co.uk [Thu May 14 15:41:42 2015] [error] [client 86.136.188.82:34867] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 15:41:45 2015] [error] [client 86.136.188.82:36168] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 15:43:36 2015] [error] [client 86.136.188.82:38284] AH01215: PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 112641 bytes) in /home/sites/alanabellclothing.co.uk/public_html/boutique/libraries/joomla/environment/response.php on line 208
alanabellclothing.co.uk [Thu May 14 16:11:41 2015] [error] [client 86.158.53.17:40681] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 16:54:53 2015] [error] [client 86.136.188.82:54085] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 16:56:56 2015] [error] [client 86.136.188.82:36051] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 16:57:38 2015] [error] [client 86.136.188.82:57808] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 18:19:10 2015] [error] [client 68.180.228.116:48928] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 18:19:17 2015] [error] [client 68.180.228.116:51521] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11
alanabellclothing.co.uk [Thu May 14 18:19:45 2015] [error] [client 68.180.228.116:35394] AH01215: PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp on line 11

I know that this can suggest that the site is running out of memory, so I have made the amendment to the php file: memory_limit = 256M - but this has still not fixed the problem.
Do you know what else I can do to fix this blank page issue?

Thanks in advance for your help.

xniickiidx

I located the line 11 on PHP Fatal error: Call to undefined method shopFunctionsF::renderVmSubLayout() in /home/sites/alanabellclothing.co.uk/public_html/boutique/templates/evostore/html/com_virtuemart/productdetails/default.p hp

and the line is as followed: echo shopFunctionsF::renderVmSubLayout('askrecomjs',array('product'=>$this->product));

Does this need amending if this is the source of the problem to fix it? Can you advise please.

Thank you

jenkinhill

renderVmSubLayout() is not used in VirtueMart 2.x, but it is used in VM3.x, so it appears that your commercial template is designed to work with VM3, and has overrides for that version.
Either rename the directory at templates/evostore/html/com_virtuemart/ to something different so that the default VM templates are used rather than the overrides, or migrate the VM version to VM3.0.9
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

xniickiidx

If I rename the directory at templates/evostore/html/com_virtuemart/ to something else: say com_virtuemart2/ do I need to make any other changes in virtuemart to specify this as the virtuemart file or will it auto do this? If so where can I locate the settings/files I need to change?

Thank you again for you help.

jenkinhill

Just use FTP to rename the directory. VM with then automatically use the default  templates.  This has nothing to do with memory but is because you are trying to use VirtueMart2 in a template that is built for Virtuemart3.
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