1
flabat
PHP 5 Blank Page
  • 2004/9/11 1:01

  • flabat

  • Just popping in

  • Posts: 17

  • Since: 2004/4/14


Hi,

I installed XOOPS a lot of times, no problems with PHP 4, but my server was upgraded to php5 and now, I can't finish installing XOOPS anymore, I get a Blank Page after installation, no errors, nothing.
Any tricks to make it work with php5?

Thanks

2
djsckizo
Re: PHP 5 Blank Page
  • 2004/9/11 6:30

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


Search.

3
flabat
Re: PHP 5 Blank Page
  • 2004/9/11 14:43

  • flabat

  • Just popping in

  • Posts: 17

  • Since: 2004/4/14


I did search, when XOOPS will be php5 compatible?

4
Mithrandir
Re: PHP 5 Blank Page

Quote:

flabat wrote:
I did search, when XOOPS will be php5 compatible?

When we find out what is causing the malfunctions.

If you can get a little more details in the error report than just "nothing", we will have some more to go by.

Is PHP Debug enabled? Still no errors?

5
flabat
Re: PHP 5 Blank Page
  • 2004/9/11 15:51

  • flabat

  • Just popping in

  • Posts: 17

  • Since: 2004/4/14


Quote:

flabat wrote:
I did search, when XOOPS will be php5 compatible?

When we find out what is causing the malfunctions.

If you can get a little more details in the error report than just "nothing", we will have some more to go by.

Is PHP Debug enabled? Still no errors?[/quote]

First let me apologize if my post sound rude, I love Xoops.
I been wotking with others CMS and XOOPS is far better.
And thanks for your fast response.


from php error log:

[10-Sep-2004 21:15:21] PHP Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in C:\www\kernel\object.php on line 528

6
Mithrandir
Re: PHP 5 Blank Page

a simple search for "T_CLONE" revealed a number of threads - one of which is this one:
parse error, expecting `T_STRING'

7
flabat
Re: PHP 5 Blank Page
  • 2004/9/12 16:16

  • flabat

  • Just popping in

  • Posts: 17

  • Since: 2004/4/14


Well, I went trough all post regarding php5 problems and I can't find the right answer. Closest one is to rename all instances of "clone" with something like "_clone".

Anybody got XOOPS running with php5, if yes, how?


Thanks


8
slugo
Re: PHP 5 Blank Page
  • 2004/9/12 16:19

  • slugo

  • Just popping in

  • Posts: 15

  • Since: 2004/7/4 1


uninstall PHP5 and go back to PHP4, alternativly, download XSAS from the left hand side

9
flabat
Re: PHP 5 Blank Page
  • 2004/9/12 16:22

  • flabat

  • Just popping in

  • Posts: 17

  • Since: 2004/4/14


I'm sorry but that is not a solution.

Of course going back to php4 will work.


10
flabat
Re: PHP 5 Blank Page
  • 2004/9/13 1:36

  • flabat

  • Just popping in

  • Posts: 17

  • Since: 2004/4/14


Well, after replacing all instances of clone for _clone in the code, I got it working, but when I try to install any modules I get an error :

Unable to install Downloads. Error(s):
-

Installing Downloads

- Could not insert Downloads to database

php log:


[12-Sep-2004 22:08:33] PHP Warning: main(XOOPS_ROOT_PATH/class/xoopsblock.php) [C:\apache2triad\php\manual\function.main.html]: failed to open stream: No such file or directory in C:\www\flabat.com\header.php on line 28

[12-Sep-2004 22:08:33] PHP Warning: main() [C:\apache2triad\php\manual\function.include.html]: Failed opening 'XOOPS_ROOT_PATH/class/xoopsblock.php' for inclusion (include_path='.;C:\apache2triad\php;C:\apache2triad\php\smarty;C:\apache2triad\php\pear;C:\apache2triad\php\pear\pear') in C:\www\cccc.com\header.php on line 28

[12-Sep-2004 22:08:33] PHP Warning: main(XOOPS_ROOT_PATH/class/template.php) [C:\apache2triad\php\manual\function.main.html]: failed to open stream: No such file or directory in C:\www\cccc.com\header.php on line 62

[12-Sep-2004 22:08:33] PHP Fatal error: main() [C:\apache2triad\php\manual\function.require.html]: Failed opening required 'XOOPS_ROOT_PATH/class/template.php' (include_path='.;C:\apache2triad\php;C:\apache2triad\php\smarty;C:\apache2triad\php\pear;C:\apache2triad\php\pear\pear') in C:\www\cccc.com\header.php on line 62


Login

Who's Online

204 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 204


more...

Donat-O-Meter

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

Latest GitHub Commits