Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 11:34 pm EDT

Geeklog Forums

Static Pages, Fatal error


Status: offline

mawal

Forum User
Newbie
Registered: 12/21/03
Posts: 2
Hi!

Somethings happened to my Static Pages when i tried to update it, i get this:

Fatal error: Call to undefined function: sp_getperms() in /usr/local/www/data-dist/admin/plugins/staticpages/index.php on line 349

I tried to roll back to the files i had before the upgrade but that didn't work either.
Anyone know anything about this error?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by mawal: Somethings happened to my Static Pages when i tried to update it

Updating what (the plugin or Geeklog)? And from which version to which version?

Quote by mawal:Fatal error: Call to undefined function: sp_getperms() in /usr/local/www/data-dist/admin/plugins/staticpages/index.php on line 349

SP_getPerms is a new function introduced in the static pages plugin 1.3 (which ships with Geeklog 1.3.8). Make sure you've updated the plugin's functions.inc file.

bye, Dirk
 Quote

Status: offline

mawal

Forum User
Newbie
Registered: 12/21/03
Posts: 2
Updating what (the plugin or Geeklog)? And from which version to which version?


static pages, from the default that came with Geeklog 1.3.8-1sr2 to staticpages_1.0_1.3.4

SP_getPerms is a new function introduced in the static pages plugin 1.3 (which ships with Geeklog 1.3.8). Make sure you've updated the plugin's functions.inc file.


That was my first guess too so i hav the right file..
I now tried to uninstall the plugin - but that doesn't work either. Now i will try to manually remove all files and put the ones from the default installation back instead. I hope that will do it.

I'll post if it works..
 Quote

Status: offline

exaurdon

Forum User
Regular Poster
Registered: 08/13/03
Posts: 107
I'm afraid you have not 'upgraded' your static pages... it sounds like you have downgraded your staticpages.....

The current version with geeklog 1.3.8 is StaticPages 1.3, you were trying to install staticpages_1.0_1.3.4. That version was release in march of 2002. The most up-to-date version of staticpages is 1.3, the version that comes with Geeklog. (I released a 1.3.3 patch to Staticpages, but that is not an official upgrade)

You will want to replace your staticpages files with the originals from the distribution.

Exaurdon~
 Quote

All times are EDT. The time is now 11:34 pm.

  • 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