Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
It's funny, I get this error when saving with a long title in news, but WS_makeId is in lib-webservices.php in the line 999.

Fatal error: Call to undefined function WS_makeId() in /var/www/dev/system/lib-story.php on line 1121

Any suggestions.

Thanks guys.


D Web Studio - www.d-webstudio.net

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Which Geeklog version and which PHP version are you on?

I came across this a while ago but forgot to look into it. When you're on PHP 4, I suspect that you may run into an issue that we had (and solved) with static pages, which also seems to be there in the code for stories.

So if you're on PHP 4, please file this as a bug.

bye, Dirk

Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
Geeklog 1.6.1 and PHP 5.2.10 (x86_64 / Ubuntu Linux), happens with long titles only.


D Web Studio - www.d-webstudio.net

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Ah, wait - you have the Webservices switched off (in the Configuration somewhere), right? In that case, it would be a bug as well.

bye, Dirk

Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
No, Webservice and all services is enabled.

I think that is a real bug.
D Web Studio - www.d-webstudio.net

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Yes, "Call to undefined function WS_makeId()" is a bug in any case. I was only trying to find out the details under which it happens.

Please file a bug report. Thanks.

bye, Dirk

Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
This patch solved the bug:

http://project.geeklog.net/tracking/file_download.php?file_id=167&type=bug

Thanks erico


D Web Studio - www.d-webstudio.net