WordPress.org

Ready to get started?Download WordPress

Forums

WP-Photos Parse error (4 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Hello. I tried to install WP-Photos on WP version 1.0.2 and I have gotten as far as uploading the files and editing the wp-photos.config.php but when I try to run http://anneclarice.balandra.org/wp-photos.set-up.php and click the link to create the table I get this error:
    Parse error: parse error in /home/admin/public_html/anneclarice/wp-photos.config.php on line 33
    I have removed the extra stylesheet codes in the wp-photos.config.php but I still keep getting the same error.
    What am I doing wrong? Sorry if this has been asked in the past, thank you in advance for replies.

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    Got it to work! Sorry for the bother...

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    I put this line
    <?php include_once('../wp-photos.hack.php'); wpphotos_link(); ?>
    on line 275 of edit.php just before the ] and I removed the stylesheet codes on wp-photos.config.php so much so that this was all it contained:
    <?php
    $tablephotos = 'wp_photos';
    $wpphotos->display_URL = 'wp-photo.php';
    $wpphotos->preview_align = 'left';
    $wpphotos->grid_columns = 1;
    $wpphotos->import_IPTC = 1;
    $wpphotos->photographer = 'Author';
    $wpphotos->type = 'wordpress';
    ?>
    I'm not sure which one made it work or if both did. Hope it made sense.

  4. worchyld
    Member
    Posted 9 years ago #

    I'm experiencing a problem with wp-photos. I am using wordpress 1.2
    On the installation it says;

    4) Add this to edit.php before the
    tag and after the Edit/Delete links at line 275:
    <?php include_once('../wp-photos.hack.php'); wpphotos_link(); ?>

    The only edit.php file I found doesn't go up to 275 lines, it's the one in the wp-admin folder and it's got way less than 275 lines. Does anybody know where to put the above code?
    Also, later on it mentions putting code into the index.php file. Does this mean the root/index.php file or another index.php file?
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.