1
libervis
EDIT: PHP 5.0.1. compatibility problem!
  • 2004/9/26 16:02

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Hello..

I can't believe this is happening

When i type www.libervis.com or anywhere follow that link to my site i get a prompt dialog that says: "You have chosen to open ..which is a: application/x-httpd-php"

And when i type and try to acces throughhttp://www.libervis.com/index.php i get the same only it says "which is a: php script"

The only way i can acces my homepage is throughhttp://www.libervis.com/index.php? with that "?" at the end...

Now, i use kenogui modrewrite hack and i though it could have something to do with it, but i removed it and i have the same problem.
However, when i remove it it makes me alot of damage because i recently published an article that was fed in linuxtoday.com, lxer.com through modrewritten link which points to 404 page if modrewrite hack is removed..so i can't do that.
It seems it's not a problem anyway..
What to do? Do you have any clue on this? Please respond quickly!

I also had some problems last night with dialogs not automatically reloading so you have to click "here" link to do it, now it suddenly reloads fine, but i can't access the site through main domain name.

I HATE these stupid ghosts around my site or whatever.

EDIT: This problem seems to be identified, but not solved.. now it's about PHP 5.0.1 compatibility with XOOPS 2.0.7.

Thank you for any help!
Daniel

2
libervis
Re: can't acces through main domain: application/x-httpd-php!!!
  • 2004/9/26 16:06

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Hell no.. i really don't know what the heck is happening there, just finished typing the above message and now suddenly the whole freaking site is out of reach.. And i didn't touch anything except tried to make a redirect in cpanel fromhttp://www.libervis.com/ tohttp://www.libervis.com/index.php?

Now i get dialogs telling me that it's refusing connection.

3
libervis
Re: can't acces through main domain: application/x-httpd-php!!!
  • 2004/9/26 17:00

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


This is becoming really funny, if it wasn't worrying..

When i browse with Konqueror it all works fine, and when browsing with firefox it gives me that stupid open dialog even though site is accesbile through it now except if you go through FF...

I still don't get the problem, but since there're way more FF users than Konqueror users, this is still a serious problem..

Does anyone here uses Firefox? Would you please check if you can open my site throughhttp://www.libervis.com properly??

Thank you very much
Daniel

4
ackbarr
Re: can't acces through main domain: application/x-httpd-php!!!

Both FF (1.0 Preview) or IE 6.0 (Latest Security Fix) display a white page when requesting your site.

5
libervis
Re: can't acces through main domain: application/x-httpd-php!!!
  • 2004/9/26 18:31

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Indeed.. it's because the problem has been shifting from this to that.. and i finally got the cleare picture of what was happening and now can identify the main causes of the problem.. however the problem may be rather big one.

My host has just upgraded to PHP 5 which cause all this server mumbo jumbo and now it seems like XOOPs has found itself in an unknown territory.. suddenly normal 2.0.7. system won't work properly.

Now i get:

Parse error: parse error, unexpected T_CLONE, expecting T_STRING in /home/libervis/public_html/kernel/object.php on line 528

everywhere on the site.
I tried to replace clone with string in that line specified in that error but it generated blank pages which you saw.

It now becomes an issue of XOOPS compatibility with PHP 5.0.1.

Can anyone help in the matter, does and if yes, how, does XOOPS supports PHP 5.0.1
Thank you
Daniel

6
Mithrandir
Re: can't acces through main domain: application/x-httpd-php!!!

Try a search for "unexpected T_CLONE" here and you'll get some more info - however XOOPS does not support PHP5 right now. Some workarounds are able to get a functioning site, I'm told, but no promises yet.

7
libervis
Re: can't acces through main domain: application/x-httpd-php!!!
  • 2004/9/26 19:04

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Oh my oh my..

I searched and noone seems to really got around this proble except running back to old PHP which i am not able to do because my host would certainly not move to a lower versiona just because of myself..
And they claim that they resolved the problem and that they have XOOPS installation working. Here's the link they gave me as a proofhttp://www.shopcentar.hr/xoops/

They told me to replace function &clone with function__clone and that it worked for the it should work for me, but it doesn't.. i then get this:

Parse error: parse error, unexpected T_STRING, expecting T_FUNCTION in /home/libervis/public_html/kernel/object.php on line 529

Thank you

8
Mithrandir
Re: can't acces through main domain: application/x-httpd-php!!!

function __clone() - remember the space. The "function" is a keyword, the __clone() is the method name.

If this is not the problem, paste the lines around line 529 in kernel/object.php so we can see what is the main problem.

9
libervis
Re: can't acces through main domain: application/x-httpd-php!!!
  • 2004/9/27 1:01

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Thank you Mithandir.

However, my host decided what probably was the best way to handle this problem which obviously wasn't only mine, but many other hosted clients were having similar problems. It reversed back to PHP 4.3.8. and everything automatically works fine now

It seems like it's just too early to move on to new PHP 5 while may web apps and scripts are simply not ready for it.
There will come time to move on, but it's not now.

I found XOOPS 2.0.8. in development which is obvisouly about to support this new PHP 5. :)

Thanks
Danijel

Login

Who's Online

157 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits