PEAK XOOPS - Say good-bye to allow_url_fopen in englishin japanese

Say good-bye to allow_url_fopen

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/22 8:58
tl    Posts: 84
GIJOE:

First of all, thanks for a great hack.

I have a little problem using it on one of the hosting servers. The hack works flawlessly on a FreeBSD server with cgi-php, but is having problems on another FreeBSD server with module-php. I would have a blank/white page whenever I tried to add a new feed.

It is not really important, but do you have any ideas what could be the problems?

Thanks.

tl
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/26 6:41
GIJOE  Ǥ   Posts: 4110
hi tl.
Quote:
I have a little problem using it on one of the hosting servers. The hack works flawlessly on a FreeBSD server with cgi-php, but is having problems on another FreeBSD server with module-php. I would have a blank/white page whenever I tried to add a new feed.
Perhaps, the difference of cgi-php and module-php is not so important.
I think the latter server does not allow socket open.

Anyway, some error message will be dispalyed when you turn "php debug" on.
To solve the problem, the message is necessary.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/26 21:10
tl    Posts: 84
Thanks, I should have thought of turning the debug on.

Here is the error message:

Parse error: parse error, expecting `')'' in /.../class/snoopy.php on line 701

Fatal error: Cannot instantiate non-existent class: snoopy in /.../modules/xoopsheadline/class/headlinerenderer.php on line 78


The same files are working on the php-cgi server. The sockets support is enabled.

[edit]
I took a look of the snoopy.php file, it was corrupted. Now it is working. Strangely enough, the corrupted file did not cause any problem with the php-cgi server. Thanks for the help. [/edit]
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/7/27 5:27
GIJOE  Ǥ   Posts: 4110
hi tl.
Quote:
Parse error: parse error, expecting `')'' in /.../class/snoopy.php on line 701
It is a bug of snoopy.php in 2.0.6.
This bug is well-known in multi-byte environment like Japan.

In single-byte environment, this code causes no error.
On the other hand, this code cause parse error in multi-byte environment.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!