View previous topic :: View next topic |
Author |
Message |
Raine
Joined: 28 Jul 2006 Posts: 23
|
Posted: Thu Apr 12, 2007 14:32 Post subject: SetPersistentString error |
|
|
I'm just now trying to set up a database for persistent reasons. I have no database experience, so I'm sure this will be fun....
Anyway, one step at a time.
I'm adding the aps_onload script to my current onload script. I'm getting an error in the aps_include file. The error is on line 268 for me and is "function implementation and definition differ". Here's the line:
Code: |
void SetPersistentString( object oObject, string sVarName, string sValue, int iExpiration = 0, string sTable = SQL_DEFAULT_TABLENAME);
|
It duplicates what is shown in the definition window when I click on the SetPersistentString function, so I'm at a loss. |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Thu Apr 12, 2007 21:05 Post subject: |
|
|
Check to make sure you didn't accientally add a space before the first paren. Other than that I'd need to see the full script of your onload and the aps include you are using, in case it was altered.
Funky |
|
Back to top |
|
|
Raine
Joined: 28 Jul 2006 Posts: 23
|
Posted: Tue Apr 17, 2007 14:42 Post subject: |
|
|
No space, but perhaps a good call on the onmodload script. It looks like I've got some old code that tries to set persistent ints. Geez.. it's from 2002 and has a bazillion include files. Well this will take some time to isolate without trashing everything... |
|
Back to top |
|
|
|