Author |
Message |
jlmfaf
New Member


Joined: Sep 01, 2006
Posts: 13
Location: Charleston SC USA
|
Posted:
Sat Sep 09, 2006 12:50 pm |
|
Ok so I've been essentially recopying the 'Web Links' module and creating it for another module..
Exact same features at the moment.. only the wording has changed to fit the circumstance, and added exactly the same db tables, only changing the table prefix to fit the new name..
My problem lies here..
When I go to "add" something new, be it submitting it via user or via admin, it causes it to go into the Web Links database..
ALL the SQL queries are pointing to the new db tables, atleast from what I'm seeing.. all the files work as they should.. but what happens is I submit data for module B, it ends up in database for module A..
Any suggestions as to whats going wrong and where?
What I did an how..
I exported the SQL files for all the nuke_links tables, and changes the _links prefix to match the new module..
all the language strings match up correctly, all the function / case lettering all matches up.. everything seems to be working, but obviously not..
*stumped* |
Last edited by jlmfaf on Sat Sep 09, 2006 9:52 pm; edited 1 time in total |
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Sep 09, 2006 2:21 pm |
|
This is not Raaven Nuke related so I'm moving it to the 'modules' forum. |
|
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sat Sep 09, 2006 5:38 pm |
|
You need to go again through all files and check where you forgot to use the new name.
I had the same error like you but for my reviews modul a long time ago. Was a funny thing(found my ringtones in the cheats db ) and time consuming but at the end it worked.
Maybe this helps:
http://www.karakas-online.de/forum/viewtopic.php?t=556 |
|
|
|
 |
jlmfaf

|
Posted:
Sat Sep 09, 2006 9:39 pm |
|
Ok so.. no =\
I double checked all my "op=" and "name=" and all the tables following the $prefix value, plus I searched for _links_ (that being the old table name) and I'm not finding anything, and case file, and the links file.. everything is right as it should be..
yet its posting into the old tables.. wth :\
like it seriously isn't making ANY sense.. i'm just going to delete everything and start from scratch again.. may have messed something up on the way.. atleast now I know what i'm looking to change this time around.. first time it was shoot and miss  |
|
|
|
 |
jlmfaf

|
Posted:
Sat Sep 09, 2006 9:43 pm |
|
when I copied the tables out of sql and resinserted them using the new name.. it copied any info that was with them.. which gets displayed correctly..
module b is displaying tables from table b.. yet when inputing info into table b through module b, info ends up in table a |
|
|
|
 |
jlmfaf

|
Posted:
Sat Sep 09, 2006 9:51 pm |
|
Hoorah! Ok I figured it out..
sneaky bastard.. it was in the HTML that i missed..
Code:<input type=\"hidden\" name=\"op\" value=\"LinksAddCat\">"
|
changed all of those and it worked like a charm.. |
|
|
|
 |
Susann

|
Posted:
Sun Sep 10, 2006 1:57 am |
|
Congratulation !  |
|
|
|
 |
Guardian2003

|
Posted:
Sun Sep 10, 2006 2:53 pm |
|
|
|
 |
|