WordPress.org

Ready to get started?Download WordPress

Forums

WP Online Store
Category pages, no items (3 posts)

  1. Inekris
    Member
    Posted 6 months ago #

    In wp-online store, the category pages show no items in the category at all

    I can't see anything wrong in the log, except: PHP Parse error: syntax error, unexpected '}' in /var/www/htdocs/store.planetkips.nl/wordpress/wp-content/plugins/wp-online-store/includes/modules/product_listing_column.php on line 254

    The url for the store is: http://faeryflutterforgings.planetkips.nl/

    Please help

    http://wordpress.org/plugins/wp-online-store/

  2. baldguy67
    Member
    Posted 5 months ago #

    I'm not sure why you are seeing that error. You could try to download that particular file via FTP:
    /wordpress/wp-content/plugins/wp-online-store/includes/modules/product_listing_column.php
    Then use a text editor to find and edit that line.

    Using Dreamweaver I found that line very near the bottom of the page. It goes like this:

    <?php
      }
    ?>
    
            </td>
        </tr>
    </table>

    Try putting a couple of // before the } so it looks like this:

    <?php
     // }
    ?>
    
            </td>
        </tr>
    </table>

    There should not be an error here unless there is some corruption somewhere. You could try to download the whole WPOLS plugin to your computer, unzip it, then upload the product_listing_column.php from your computer over the version on your webserver.

    Remember - always back up before making any modification like this.

  3. lordcalin
    Member
    Posted 5 months ago #

    <?
    if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {
    ?>

    replace:

    <?php
    if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {
    ?>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.