VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: xniickiidx on November 02, 2012, 11:20:41 AM

Title: [ SOLVED ] Cannot view product pages or product detail pages
Post by: xniickiidx on November 02, 2012, 11:20:41 AM
Versions: Joomla 2.5.7 and Virtuemart 2.0.12f

Suddenly I cannot click onto any product to see the product details page, It just shows a blank page for all my products and I am not sure why?
I can't think of any changes I have made that will have caused this so am really confused, also I need this up and running ASAP as it is currently in use.

Could anyone help me please?


Here is the link to a product on the website:
http://www.atgraphics.co.uk/display/index.php/pillar-boards



Thanks in advance for any help,

Regards,

Nicola
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 11:37:17 AM
Hello,

I think is a 500 error, did you publish virtuemart front page under joomla menu item? Did you did that correctly?

Also please check your joomla error log and try with both joomla and vm sef options disabled.

Regards
Title: Re: Cannot view product pages or product detail pages
Post by: xniickiidx on November 02, 2012, 12:11:09 PM
Where are these options? I think i just disabled the ones you mentioned and it didn't make a difference.

Also there is nothing in the Joomla log file about this.


And I just published the Virtuemart front page as a joomla menu item and it didn't effect anything eiva.

Not sure where I am going wrong at all, thanks again.
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 12:30:42 PM
check your url again, vm fp is not published on a menu item and also sef are enabled.
Title: Re: Cannot view product pages or product detail pages
Post by: xniickiidx on November 02, 2012, 13:13:48 PM
I have turned SEF off and set VM FP as a menu item and still nothing?

http://www.atgraphics.co.uk/display/index.php/snap-frames/a0

Have i done this correctly? and if neither of these are fixing the problem do you know what else could be causing it?


Thank you again, your help is much appriciated
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 13:16:31 PM
disable joomla sef option also. Where did you publish the fp ... ? which url?
Title: Re: Cannot view product pages or product detail pages
Post by: xniickiidx on November 02, 2012, 13:20:11 PM
I have done that now aswel.

The FP is under 'Our products' http://www.atgraphics.co.uk/display/index.php?option=com_virtuemart&view=virtuemart&Itemid=101

It seems to be blank?
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 13:28:00 PM
yes, error 500 i think ... the error log contains anything?

Can you pm me and account for be?
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 13:59:12 PM
ok,

You have PHP 5.2.17 ... you coud upgrade to 5.3.x ...

It's a php error, you should increase execution time, memory size,  file size in your php.ini file. If you don't have access to php.ini edit your .htaccess
if your .htaccess named htaccess.txt, rename it to .htaccess and add the following lines

php_value memory_limit 128M
php_value max_execution_time 259200

Then under joomla global configuration you have to enable Use URL rewriting

----


more infomation: http://forum.virtuemart.net/index.php?topic=108107.0
http://forum.virtuemart.net/index.php?topic=102045.msg339125#msg339125
http://magazine.joomla.org/issues/Issue-Dec-2010/item/295-Are-you-getting-your-fair-share-of-PHP-memory

Regards
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 14:02:34 PM
virtuemart homepage didn't show anything because you haven't select anything from the backend ...  under configuration -> Templates  [VirtueMart Home Page Settings]
i enable some of them ... also enabled Error Reporting to simple from joomla configuration so you could see the errors ... was system default .. you can change it after

Regards
Title: Re: Cannot view product pages or product detail pages
Post by: xniickiidx on November 02, 2012, 14:40:15 PM
I have made the changes to the files as suggested (php and htaccess which I have attached for you to take a look at - the php file is saved as .txt just to add as an attachment) and I have made the changes to the configuration settings but still the products are not showing.

The following error comes up on product detail pages:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 106 bytes) in /home/sites/atgraphics.co.uk/public_html/display/libraries/joomla/language/language.php on line 797

Does this mean I need to make a change to the language.php file?


The only thing I have not done is update the php version as I am not sure how I go about doing this? Could you please advise?


Thank you again for all the help.

[attachment cleanup by admin]
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 14:42:30 PM
Hello,

i enable the error reporting for that.

Please on your root site folder rename htaccess.txt to .htaccess

Also enable from joomla backend use url rerwtire.

Your PHP version will be updated i suppose by you provider ... i have no clue what hosting you are running as i told you before, ask your hosting provider ... open a ticket there... simple.

If you using shared hosting account there is a posibility your hosting provider not allow you to increase memory size ... so open again a ticket and request to do it for you ...

Regards
Title: Re: Cannot view product pages or product detail pages
Post by: xniickiidx on November 02, 2012, 14:45:27 PM
I have now updated the php version and it seems to now be working.


Thank you very much for all the help and your patience.


Regards,

Nicola
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 14:47:08 PM
great then.

I suppose your hosting provider did that for you?

The issue from the begging was that you had to increase your memory limit in php.ini file or .htaccess file.

Regards
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 14:48:40 PM
btw, disable using SSL from vm backend because your cart is not working ...

Regards
Title: Re: Cannot view product pages or product detail pages
Post by: xniickiidx on November 02, 2012, 15:12:44 PM
Where is the SSL setting?
Title: Re: Cannot view product pages or product detail pages
Post by: bytelord on November 02, 2012, 15:23:36 PM
Configuration -> Shop -> Enable SSL for sensitive areas (recommended)
uncheck it and save ...

Regards