spartacus plugin error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

spartacus plugin error

Post by TKS »

I've installed the recent spartacus plugin posted at blog.s9y.org. However, it has not worked for me yet. The problem I'm experiencing is that it couldn't connect to the URL and was telling me to try again later. I've tried later and even later than that...however, I'm beginning to think that there is something wrong since I haven't been able to install or upgrade a single plugin yet. The error I get is as follows:

Code: Select all

Trying to open URL serendipity_event_staticpage.php?rev=1.9999...
The URL http://php-blog.cvs.sourceforge.net/*checkout*/php-blog//additional_plugins/serendipity_event_staticpage/serendipity_event_staticpage.php?rev=1.9999 could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
I sanyone else experiencing this problem?
Berg
Regular
Posts: 17
Joined: Sat May 20, 2006 5:38 pm

Post by Berg »

Same problem here...
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

Tried again today and am receiving the same problem regardless of what plugin I try to install from spartacus.

Serendipity version .9.1
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: spartacus plugin error

Post by garvinhicking »

Hi!

Please set your file mirrors to Netmirror.org.

I will fix the SF.Net file location. The "//" is now creating trouble, even though it didn'T make troubles on earlier SF.Net server versions.

This is the fix:

http://svn.berlios.de/viewcvs/serendipi ... 93&r2=1237

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Spartacus

Post by randulo »

(Serendipity 0.9.1)

Garvin, I added the code to fix the double slash and it indeed works, thank you. However I see a version of 2.5. How can I update spartacus? Or is it even necessary?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus

Post by garvinhicking »

Hi!

Updating would be just a matter of downloading the latest spartacus plugind irectory from either the SVN page or the nightly snapshots.

Or wait for the 1.0 release somewhen the next days :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

No Workie

Post by TKS »

I'll just have to wait...it's not working for me.

I'll have to update things when the next version comes out. Installing that file garvin linked to makes me unable to even install plugins I locally have in the plugin directory.

and I just saw that the next version was out!
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Still no workie, 1.0 version

Post by TKS »

Garvin,

I've got the same problem with this in the upgraded version 1.0

I deleted my entire spartacus folder and dropped the new one from 1.0 in. No dice, still the same error. I have not been able to update plugins for quite some time now.

Here's for the static page plugin

Code: Select all

http://php-blog.cvs.sourceforge.net/*checkout*/php-blog/additional_plugins/serendipity_event_staticpage/serendipity_event_staticpage.php?rev=1.9999 could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
Here's for the show links to digg, etc. plugin

Code: Select all

Trying to open URL serendipity_event_findmore.php?rev=1.9999...
The URL http://php-blog.cvs.sourceforge.net/*checkout*/php-blog/additional_plugins/serendipity_event_findmore/serendipity_event_findmore.php?rev=1.9999 could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Still no workie, 1.0 version

Post by garvinhicking »

Hi!

If I call those URLs you mentioned here, they work perfeclty.

Please talk to your server admin; it seems that he has enabled firewalling on your server and outgoing connects are getting blocked.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

I contacted my host, site5.com.

They've been able to ping and connect to the URL using lynx.

They wanted to know what the specific command executed by the php code is when connecting back to CVS. I'm not really sure since I'm no coder :/

Do you think you could give me a synopsis of the connection process and what calls the code makes?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

We use the PEAR HTTP module to access outside sites. There's a different URL for each mirror; we just use HTTP_Request to pull down the contents. It should be no different than regular web-browsing: connect to port 80, send the magic commands, and read the result from the socket.

We then check for errors, and print warnings if necessary. If there was a problem, we skip the fetch and try to use local files.

Nothing elaborate. When Garvin suspects firewall problems, he sometimes asks you to try this:

Code: Select all

<?php
include('http://www.google.com/');
?> 
Put it where you can call it from a browser (like connection_test.php or something), then call it from a browser. If it shows Google, you're not being firewalled. If it doesn't, your Serendipity installation can't connect to the outside world. In that case, you'll have to talk to your provider again. That simplified script should be enough to convince him the problem is on his end, either in his system or the configuration of your account.
Judebert
---
Website | Wishlist | PayPal
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

I've placed that lil script into a php file and called it from a web browser.

No problems at all...google is displayed (with my favicon...which makes me feel weird). So the problem must be in my s9y install and NOT with my host.
bloginonline
Regular
Posts: 5
Joined: Sun Jun 18, 2006 8:56 am

Same Problem

Post by bloginonline »

I am having the same problem. I am guessing it is my host because I cannot succesfully run the php include of google.com. It prints:

Warning: main(): URL file-access is disabled in the server configuration in /home/content/b/l/o/bloginonline/html/testcall.php on line 2

Warning: main(http://www.google.com/): failed to open stream: no suitable wrapper could be found in /home/content/b/l/o/bloginonline/html/testcall.php on line 2

Warning: main(): URL file-access is disabled in the server configuration in /home/content/b/l/o/bloginonline/html/testcall.php on line 2

Warning: main(http://www.google.com/): failed to open stream: no suitable wrapper could be found in /home/content/b/l/o/bloginonline/html/testcall.php on line 2

Warning: main(): Failed opening 'http://www.google.com/' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/b/l/o/bloginonline/html/testcall.php on line 2

Is this the result of a firewall?

This must be a common problem for other people too, how do I go about fixing this?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Same Problem

Post by garvinhicking »

TKS:

Could you try to use the netmirror.org spartacus file mirror instead of SourceForge?

bloginonline: You need to contact your system administrator to ask him to unblock URL calls for you - it's a server firewall issue, sadly, so you on your own can do nothing to fix it.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

What's the full url for the netmirror one? And do I replace every instance of php-blog.cvs.sourceforge.net in serendipity_event_spartacus.php?
Post Reply