Raised This Month: $ Target: $400
 0% 

Advertisements - MySQL Updated 2/5/09


Post New Thread Reply   
 
Thread Tools Display Modes
your mom
Senior Member
Join Date: Jul 2008
Old 04-22-2009 , 07:39   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #101

Right I know I have no connection to the database, just wondering how to fix it....
your mom is offline
leV
Member
Join Date: Dec 2007
Old 04-23-2009 , 04:13   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #102

When I try to enter a new ad into the list, it does not show up.

I want to put all my ads I currently use with Tsunami's plugin into the SQL list before I install the plugin, so I havn't installed this yet onto my servers, is that required? Would that fix my issue?

Thank you!
__________________

leV is offline
sbghannibal
Member
Join Date: Nov 2008
Old 04-23-2009 , 04:45   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #103

Quote:
Originally Posted by your mom View Post
Right I know I have no connection to the database, just wondering how to fix it....

mysql works normally at localhost this means you need to allow the ip from you server in the database to access it from the Internet
sbghannibal is offline
your mom
Senior Member
Join Date: Jul 2008
Old 04-23-2009 , 07:42   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #104

Got it working. My provider changed the ip of the box the gameserver sits on. I whitelisted it & now we are all good.
your mom is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 04-23-2009 , 09:17   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #105

Quote:
Originally Posted by leV View Post
When I try to enter a new ad into the list, it does not show up.

I want to put all my ads I currently use with Tsunami's plugin into the SQL list before I install the plugin, so I havn't installed this yet onto my servers, is that required? Would that fix my issue?

Thank you!
There is a known bug that I will have fixed in the next version.
It happens when you add and then delete an ad, leaving a gap in the sequence.

One simple fix is to use the arrows on the right to move the ads or go into the database and fix the id numbers so they are in sequence.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
leV
Member
Join Date: Dec 2007
Old 04-23-2009 , 12:19   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #106

There are no ads in there :/ I deleted all the "test" ads you put in, and now nothing new goes into the database.

http://thecouchonline.net/ads/ads.php
__________________

leV is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 04-23-2009 , 12:29   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #107

@lev,
If you have access to the database through PhpMyAdmin, you could put one entry directly into the database. That would probably get you working again. I don't think Dog coded for an empty table.

Your other option is to redo the original install on the database part. Delete all put one entry and just edit that remaining one to say what you wish. You should then be able to add the rest of the ads you want in there.

Last edited by SuperShadow; 04-23-2009 at 12:31. Reason: Spelling counts
SuperShadow is offline
leV
Member
Join Date: Dec 2007
Old 04-23-2009 , 18:45   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #108

I reuploaded the .sql, and deleted all of the test ad's but two of them, then tried adding a new one, but it didn't show :/ Doesn't seem to be working quite right..and I know I have all the info correct. I know a decent amount about PHP/sql (not like an expert or whatever...but I have experience) with it. Strange though, dog's permamute addon worked just fine!
__________________

leV is offline
Kenny Loggins
SourceMod Donor
Join Date: Jun 2008
Location: Rochester, MN
Old 04-23-2009 , 19:12   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #109

Can you post an example of the ad you are trying to add?

Anything with "" in it?
__________________

Server Admin / Leader
ClanAO.com
Kenny Loggins is offline
leV
Member
Join Date: Dec 2007
Old 04-23-2009 , 19:51   Re: Advertisements - MySQL Updated 2/5/09
Reply With Quote #110

Code:
{GREEN} - If the team's are absolutely horrid, type '{LIGHTGREEN}scramble{GREEN}' :)
I tried it without the apostrophe, no luck.
__________________


Last edited by leV; 04-23-2009 at 19:56.
leV is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode