Sivel.net Forum

Support forum for Sivel.net

You are not logged in.

Announcement

The Sivel.net support forums have been shutdown in favor of the WordPress.org Support Forums. This forum will remain online in a read only state for archival purposes. Please use the following links to navigate to the WordPress.org Support Forum for each specific plugin.

#1 2008-09-04 05:48:11

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Errors with Wordpress 2.5.1

First of all, great idea.

Sadly the Plugin is not working for me. First i tried the 1.1 Version, but i cant even activate it. I get the an error message saying there is a problem with line 43.

so i tried version 1.0, which activates fine. But when i get to settings / MSP i get a error message to contact system administrator.

I hope you can fix that.

Greetings from germany

Fabian

Offline

 

#2 2008-09-04 16:51:12

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

What version of PHP are you using? PHP5 or PHP4?  In addition can you give me more detailed error messages?

Offline

 

#3 2008-09-04 17:38:09

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Re: Errors with Wordpress 2.5.1

Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /usr/www/users/web74/wp-content/plugins/moderate-selected-posts/moderate-selected-posts.php on line 43

PHP4

Last edited by Schnappi (2008-09-04 17:38:33)

Offline

 

#4 2008-09-04 17:56:56

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

This error is due to running PHP4.  Seeing as though PHP4 is now end of life and no longer supported, my plugins will not support it either.

My apologies for the inconvenience.  Perhaps you should look into upgrading to PHP5.

Offline

 

#5 2008-09-04 18:40:31

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Re: Errors with Wordpress 2.5.1

Damn :(
im scared to change a runnin wordpress blog with 2mio. PIs/month. Isnt there a quickfix for the function in line43?

Offline

 

#6 2008-09-04 18:53:03

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

I'll see what I can do.  I don't have a machine running PHP4 so I'll have to build one for testing.  I'll get back to you soon.

Offline

 

#7 2008-09-05 09:31:11

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

I haven't had time to extensively test this.  But lets give it a shot.

Look for the line in moderate-selected-posts.php that looks like (line 43):

Code:

$post_author = get_post ( $post_ID )->post_author;

Replace it with:

Code:

$postdata = get_post ( $post_ID );
$post_author = $postdata->post_author;

Let me know how it works out.  This is for version 1.1.  If it works I release a minor update to the plugins repository.

Offline

 

#8 2008-09-05 10:30:56

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Re: Errors with Wordpress 2.5.1

Okay, now it works.

But if i go to Manage / MSC i get the same error i had with 1.0:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@yxxx.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Offline

 

#9 2008-09-05 12:20:36

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

Ok...I am running 2.6.1.  I'll install 2.5.1 this weekend and see if I can duplicate the problem.

Offline

 

#10 2008-09-06 19:39:53

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

I just tested this plugin on PHP4 and WordPress 2.5.1 and am unable to duplicate the issue you are experiencing when accessing the Moderate Selected Posts admin page. 

Is it possible that you could get me the error messages from the web server error log?

Offline

 

#11 2008-09-06 19:58:51

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Re: Errors with Wordpress 2.5.1

[Wed Sep  3 18:26:34 2008] [error] [client 84.143.98.xx] Directory index forbidden by rule: /usr/www/users/web74/wp-content/themes/
[Thu Sep  4 18:08:44 2008] [error] [client 85.10.210.xx] Directory index forbidden by rule: /usr/www/users/web74/wp-content/themes/
[Thu Sep  4 18:10:40 2008] [error] [client 85.10.210.xx] Directory index forbidden by rule: /usr/www/users/web74/wp-includes/
[Thu Sep  4 18:10:42 2008] [error] [client 85.10.210.xx] Directory index forbidden by rule: /usr/www/users/web74/wp-content/plugins/
[Thu Sep  4 18:10:50 2008] [error] [client 85.10.210.xx] Directory index forbidden by rule: /usr/www/users/web74/wp-includes/images/smilies/
[Thu Sep  4 18:11:07 2008] [error] [client 88.76.199.xx] Directory index forbidden by rule: /usr/www/users/web74/wp-includes/images/


Thanks for your support

Offline

 

#12 2008-09-07 09:34:56

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

Unfortunately those messages wouldn't have anything to do with issue.  Try accessing the admin for MSP and then immediately looking at the error logs.

Offline

 

#13 2008-10-05 19:06:08

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Re: Errors with Wordpress 2.5.1

I wasnt able to get so much info on my server.

But i was finally able to upgrade to PHP5.

But now we have the next error :(

When i got to Settings / Moderate Selected Posts it only shows me an empty page:

Moderate Selected Posts Options
Select the Posts you wish to moderate all comments on:


Now @ PHP5 and WP 2.5.1

Offline

 

#14 2008-10-08 11:27:35

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

I have a new version in development.  Try the development version and let me know how it works out for you.

http://downloads.wordpress.org/plugin/m … -posts.zip

Offline

 

#15 2008-10-08 13:15:31

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Re: Errors with Wordpress 2.5.1

Same error :(
Blank list.

Offline

 

#16 2008-10-08 20:30:21

mdmartz
Administrator
Registered: 2008-08-16
Posts: 230
Website

Re: Errors with Wordpress 2.5.1

I just made a number of changes to the admin portion of the plugin.  Please try the new version.

Delete the moderate-selected-posts directory from wp-content/plugins and then upload the new version.

http://downloads.wordpress.org/plugin/m … -posts.zip

Offline

 

#17 2008-10-09 04:47:53

Schnappi
New member
Registered: 2008-09-04
Posts: 8

Re: Errors with Wordpress 2.5.1

Post List

Select the posts that you wish to moderate all comments on.


But nothing there :(

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB