Page 1 of 2

spartacus plugin error

Posted: Fri Jun 02, 2006 7:54 pm
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?

Posted: Sat Jun 03, 2006 5:46 am
by Berg
Same problem here...

Posted: Sat Jun 03, 2006 8:44 pm
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

Re: spartacus plugin error

Posted: Sun Jun 04, 2006 12:15 am
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

Spartacus

Posted: Wed Jun 14, 2006 10:12 am
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?

Re: Spartacus

Posted: Wed Jun 14, 2006 10:15 am
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

No Workie

Posted: Fri Jun 16, 2006 8:16 pm
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!

Still no workie, 1.0 version

Posted: Sat Jun 17, 2006 5:10 pm
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.

Re: Still no workie, 1.0 version

Posted: Sat Jun 17, 2006 5:16 pm
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

Posted: Sat Jun 17, 2006 9:33 pm
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?

Posted: Sun Jun 18, 2006 5:38 am
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.

Posted: Sun Jun 18, 2006 5:49 am
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.

Same Problem

Posted: Sun Jun 18, 2006 9:02 am
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?

Re: Same Problem

Posted: Sun Jun 18, 2006 12:13 pm
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

Posted: Sun Jun 18, 2006 4:12 pm
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?