News:

Support the VirtueMart project and become a member

Main Menu

[ SOLVED ] Cannot view product pages or product detail pages

Started by xniickiidx, November 02, 2012, 11:20:41 AM

Previous topic - Next topic

xniickiidx

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

bytelord

#1
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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

xniickiidx

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.

bytelord

check your url again, vm fp is not published on a menu item and also sef are enabled.
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

xniickiidx

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

bytelord

disable joomla sef option also. Where did you publish the fp ... ? which url?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!


bytelord

yes, error 500 i think ... the error log contains anything?

Can you pm me and account for be?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

bytelord

#9
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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

xniickiidx

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]

bytelord

#11
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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

xniickiidx

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

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

bytelord

btw, disable using SSL from vm backend because your cart is not working ...

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!