PDA

View Full Version : phpmyadmin - help with mod - PLEASE HELP =(


ewwharhar
05-01-2006, 08:34 PM
I got this error when I got to the last part in phpmy admin

I got this error :

Content visible to registered users only.
When i entered the code into the phpmyadmin table after the line that was already there

anon
05-02-2006, 02:16 AM
check your cobfig table and make sure you are using the correct attributes.

for ex. 3.03 uses string type for both of columns. i don't know if 2.0 uses a combination of int/string. Wouldn't see why it'd be neccessary to change, but just check.

Content visible to registered users only.

'should' work with no problems.

ewwharhar
05-02-2006, 02:28 AM
I use the code you provided, still got the same error

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `PLD_CONFIG` ( `ID` , `VALUE` ) VALUES ( 'PAY_FEATURED_YEAR' , '24' ' at line 1

anon
05-02-2006, 02:42 AM
i have to start working on some important stuff, but that's in a few minutes.

if you PM me your info, i'll look at the db for you.
either cpanel access, or direct myphpadmin; host/user/pswd.

Rob

ewwharhar
05-02-2006, 02:52 AM
I've sent you the info. Hope you can start right away now. Thank you

website: submitdotcom.com

:D
tell me when you're finished

anon
05-02-2006, 03:10 AM
It's in there.

Remember, PRIMARY KEYS cannot be duplicates.

If you try and run it again, you will get the same error.

Rob

ewwharhar
05-02-2006, 03:14 AM
Uh. ok??
Sorry new to php and everything, don't understand a thing =\
so do you mean its fixed or ?

anon
05-02-2006, 03:17 AM
The value is in there, yes.

ewwharhar
05-02-2006, 03:20 AM
Hm okk. But the submit link link doesn't show the mod effects =\
wonder what i did wrong..

anon
05-02-2006, 03:22 AM
Content visible to registered users only.

then you've messed up something along the way.

try redoing it again, minus the database addition(since it's in there)

ewwharhar
05-02-2006, 03:25 AM
Yup.. probably =\
thanks for the help.. after I finish Ill add your link on my directory in the front page or somewhere I can fit it :D

anon
05-02-2006, 04:00 AM
Thanks. I appreicate that.

ok, off to lala land to fry my brain in phpld source,tpls and configs...

Rob

ewwharhar
05-02-2006, 04:26 AM
I tried everything and its still not showing o_O

but though in one part my script was a little bit different so I just put it after the code it showed and not the line.

:shock: :(