phpwcms & PHP5 BUG

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
Florian
Posts: 119
Joined: Wed 19. Nov 2003, 16:50
Location: Hamburg
Contact:

phpwcms & PHP5 BUG

Post by Florian »

Hi there,

phpwcms cannot be run under PHP5, because of a function called "public" in general.inc.php starting in line 281. "public" is a predefinied handler within PHP5 core. It needs args and so it cannot be used to label functions.
So, Oliver, can you be so kind and rename the function in the next relase, please?

My very best thanks :D


Cheers,
Florian
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Ich habe intensiv gesucht und keinerlei Nutzung der Funktionen innerhalb von phpwcms gefunden - also deaktiviert.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
The Wolf
Posts: 2
Joined: Sat 15. May 2004, 10:35

Post by The Wolf »

In english: I looked hard for uses of the function and found none - so I deactivated it.

(might not be 100% correct)

So it will work in the next release?
WeDgE
Posts: 51
Joined: Tue 30. Mar 2004, 22:53
Location: France (Nice)

Post by WeDgE »

phpwcms v1.1-RC4 is not 100% compatible php5

so the 1.2 will be compatible ?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Oh - phpwcms works. I have tested. No problems under PHP5.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Pappnase

Post by Pappnase »

hello

i also need to say xampp with php5 will work good with phpwcms
WeDgE
Posts: 51
Joined: Tue 30. Mar 2004, 22:53
Location: France (Nice)

Post by WeDgE »

because i do a test in local and when i click to add an article, i choose for exemple html, he show
content title: [ .......... ]
subtitle: [ .......... ]

status: [] visible

[create content] [cancel]

and i dont have the text area to write the article...


(i test it with movamp)

screenshot : click
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

what error? maybe something is missing in your install.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
WeDgE
Posts: 51
Joined: Tue 30. Mar 2004, 22:53
Location: France (Nice)

Post by WeDgE »

i have installed movamp (http://www.movamp.net/) to test on local with php5.

i click to add an article, i create the article, but when i want to add the content part, he don't show the text area to write in...

maybe it's because is on localhost.. or movamp dont work fine... dont know...
Pappnase

Post by Pappnase »

hello

or you have a firewall running. :wink:
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

phpwcms and php5.0.1 running fine here on my macintosh.
it looks like u have an problem with your installation.
WeDgE
Posts: 51
Joined: Tue 30. Mar 2004, 22:53
Location: France (Nice)

Post by WeDgE »

ok
Locked