JReviews:Troubleshooting FAQ

From JReviews Documentation
Revision as of 10:26, 17 June 2011 by Jreviews (Talk | contribs)

Jump to: navigation, search

For any type of problem, if you have recently modified any core php JReviews files, you must revert to the original to make sure the issue is unrelated to your changes.

License


Client Area


Installation & Configuration


Menus, SEF and Modules

Menu highlighting gets lost

http://docs.reviewsforjoomla.com/Making_JReviews_Menus_active_when_viewing_listing_detail_pages

Clicking on listing links in JReviews list pages reload the page instead of taking me to the detail page

Make sure all your menus have unique aliases. If you created the hidden Joomla menus required for proper sef url functionality, these cannot have the same aliases as their JReviews equivalents.

Module assignments are lost on detail pages

Read the following article and watch the video tutorial:

http://docs.reviewsforjoomla.com/Using_Joomla_Core_SEF

http://www.reviewsforjoomla.com/videos/missing-module-tutorial.htm


Translation, text label changes

How to translate or change the text strings used in JReviews?

http://docs.reviewsforjoomla.com/How_to_edit_the_JReviews_language_files


Errors and things that don't work

Too much spacing in detail pages

  • Edit the /components/com_jreviews/jreviews/views/themes/default/listings/detail.thtml file and replace:


<?php echo nl2br($listing['Listing']['text']);?>

with:

<?php echo $listing['Listing']['text'];?>

Ordering and/or pagination links are not working

The listing or review form submission hangs

  • Add the &tmpl=component param to the url. If you use a sef component then add ?tmpl=component. This will remove your Joomla template and modules and load JReviews by itself. Now try the submission again. If it works it means there’s a conflict with a module or plugin that is also loading on that page.
  • Look at the source of the page (without the tmpl=component parameter) on your browser and search for other instances of jquery. If another extension loads jQuery you need to disable it to find out if that is what is causing the problem.
  • Try disabling 3rd party plugins and modules until you find the conflicting one
  • Check the conflicts board on the forum
  • Try disabling email notifications and auto-Tweets in order to rule those out as being the cause of the problem.
  • Use Firebug to view the response of the ajax request once you click on submit. This will appear in the “Console” tab in Firebug and you need to click on the “response” tab of the request that appears when you press the submit button. Let us know what the response is in your post or ticket.

Images are not uploaded with listings or thumbnails are not created

Make sure the following two folders exist and are writable by Joomla. Otherwise create them and change ownership/writing permissions as necessary.

  • /images/stories/jreviews/
  • /images/stories/jreviews/tn/

I am getting an error notice “undefined index view” in the detail page

http://www.reviewsforjoomla.com/forum/index.php?topic=5417.msg22178#msg22178

I am getting a warning "Invalid argument supplied for foreach()" in the detail page

http://www.reviewsforjoomla.com/forum/index.php?topic=4515.msg18363#msg18363