Zidalgo Wordpress Forums | Author Listings activation error

You must be logged in to post Login Register

Search Forums:


 






Author Listings activation error

UserPost

7:49 pm
February 14, 2009


onnoknuvers

Member

posts 3

1

Hi guys,

Just downloaded the Imageblogger theme, which by the way looks really nice.

But I get the following error trying to activate the Author Listings plugin.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /www/virtual/onnoknuvers.com/htdocs/wp-content/plugins/author-listing/author-listings.php on line 53


I hope you can help.

Thanks

Onno

5:51 am
March 3, 2009


juan

Member

posts 5

2

I'm having the same problem, just purchased theme. Any help?

3:32 am
March 4, 2009


admin

Admin

posts 173

3

Very strange, are you running PHP4 by chance?

2:07 am
March 8, 2009


juan

Member

posts 5

4

should we be on php4 or php5

2:11 am
March 8, 2009


juan

Member

posts 5

5

Post edited 11:20 pm – March 7, 2009 by juan


Plugin could not be activated because it triggered a fatal error.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c02/h02/mnt/24488/domains/providenceviplist.com/html/wp/wp-content/plugins/author-listing/author-listings.php on line 53

this is was on php4


Plugin could not be activated because it triggered a fatal error.

Warning: require_once(/plugin.php) [function.require-once]: failed to open stream: No such file or directory in /nfs/c02/h02/mnt/24488/domains/providenceviplist.com/html/wp/wp-content/plugins/author-listing/author-listings.php on line 29

this is was on php5

2:29 am
March 8, 2009


admin

Admin

posts 173

6

PHP5 is nearly always better for any kind of web software such as Wordpress.

As for the error you are getting with PHP5, it's better then the PHP4 one, but obviously still a problem. I think simply deactivating and reactivating it may solve the issues, since it just simply can't find a file. If you forward over your blog login info it will be easier for me to debug. Just use the contact form linked above.

2:31 am
March 8, 2009


admin

Admin

posts 173

7

Also can you include WP version and OS info as well. I haven't seen this issue on any of the other blogs using the theme, so the situation may be unique, and would help to have as much info as possible. Thanks

11:18 pm
March 8, 2009


juan

Member

posts 5

8

I sent you info. I'm using the latest version of WP. I also work on Vista and OSX 10.4

8:17 pm
March 23, 2009


admin

Admin

posts 173

9

Ok it's been fixed, I changed the lines

require_once ( '/plugin.php' );
require_once ( '/author.php' );

in /wp-content/plugins/author-listing/author-listings.php to

require_once ( 'plugin.php' );
require_once ( 'author.php' );

then the plugin activated fine.

Your server setup doesn't like absolute paths for some reason, keep it in mind in the future if you see similar 'file not found' issues. Let me know if you run into any more issues.