Support » Plugins » WP-Photos Parse error

  • 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 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Got it to work! Sorry for the bother…

    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:
    $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.

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP-Photos Parse error’ is closed to new replies.