Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 11:10 am EDT

Geeklog Forums

function WS_makeId()


Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
Location:Mexico City
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
Location:Mexico City
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

alb3rt

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

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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
Location:Mexico City
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
 Quote

All times are EDT. The time is now 11:10 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content