Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
jlmfaf
New Member
New Member



Joined: Sep 01, 2006
Posts: 13
Location: Charleston SC USA

PostPosted: Sat Sep 09, 2006 12:50 pm Reply with quote

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 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Sep 09, 2006 2:21 pm Reply with quote

This is not Raaven Nuke related so I'm moving it to the 'modules' forum.
 
View user's profile Send private message Send e-mail
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sat Sep 09, 2006 5:38 pm Reply with quote

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:
[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
jlmfaf







PostPosted: Sat Sep 09, 2006 9:39 pm Reply with quote

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 Smile
 
jlmfaf







PostPosted: Sat Sep 09, 2006 9:43 pm Reply with quote

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







PostPosted: Sat Sep 09, 2006 9:51 pm Reply with quote

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







PostPosted: Sun Sep 10, 2006 1:57 am Reply with quote

Congratulation ! Smile
 
Guardian2003







PostPosted: Sun Sep 10, 2006 2:53 pm Reply with quote

Well done!!!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©