Not logged in. · Lost password · Registration disabled
Forum: Overview Bugs / Fehler RSS
admin_manage.php issue
skaarup (Guest) #1
No profile available.
Link to this post
Subject: admin_manage.php issue
I'm getting an empty page when trying to "Manage adresses" in the settings panel. The following error occurs in the error log from Apache:

PHP Parse error:  syntax error, unexpected $end in <snip>/blog/wp-content/plugins/post_notification/admin_manage.php on line 121, referer: http://<snip>/blog/wp-admin/admin.php?page=post_notification/admin.php&action=manage

PN: 1.2.0
OS: FreeBSD 7.0-CURRENT
Wordpress: 2.3 (danish translation)
Apache: 2.2.6
PHP: 5.2.3

If you need mere info, let me know.

Post Notification is complaining about missing iconv-libs - but I don't think that's related to the issue.

Best regards,
Rasmus Skaarup
Morty (Administrator) #2
User title: Author
Member since Jun 2007 · 928 posts
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
I'd say something happened while you uploaded the file. The admin_manage.php only has 119 lines. It doesn't have an empty last line, but that shouldn't be a problem. Try reuploading the file.
skaarup (Guest) #3
No profile available.
Link to this post
# wc -l admin_manage.php
     119 admin_manage.php

# tail admin_manage.php
                } //end foreach
        }
}
#

The file looks ok.

Just tried unpacking the archive again. Same error.
skaarup (Guest) #4
No profile available.
Link to this post
Sorry, I made a typo in my original post. The line number in the Apache error log is of course 120. Not 121.
Morty (Administrator) #5
User title: Author
Member since Jun 2007 · 928 posts
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
Try adding an empty line to the end. Maybe that helps. (Just fixed that.)
Morty (Administrator) #6
User title: Author
Member since Jun 2007 · 928 posts
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
I think I found it. Try going to line 36. There is a ";" behind the <php. Remove the ";". If it helps please tell me.
Morty
skaarup (Guest) #7
No profile available.
Link to this post
Yup - that did it! Thanks!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum