News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - chenpm

#1
Ad Support / Re: it adds 2 ads at a time
December 09, 2010, 05:08:43 PM
This may not help everyone, but I did the following and it seemed to work.  On the presumption that loading the Ad Management program twice would have changed certain files, I carefully examined my file directories, one at a time.

I found that certain ".php" files were duplicated.  In other words "XXX.php" was immediately followed by a file labeled "XXX.php~".

I assumed that the "XXX.php~" was an earlier file that did not contain the code that caused the ads to post twice.  So I did the following:

1. Changed the current file "XXX.php" to "XXX-old.php"  which makes it a non-recognizable file, and
2. Changed the earlier file "XXX.php~" to "XXX.php" by removing the "~".

By doing this for every file in all the directories, I restored the functionality of Ad Management so that it only posts one ad per ad inputted.

CAVEAT: I am not a php guru or, for that matter, that good at any of this stuff. I learned to compute on a Burroughs 5500 in 1965 and did most of my work on a Log-Log DeciTrig Slide Rule.  So this may be dumb luck that it worked and may not work for everyone.  On the other hand if you see the same combination of ".php" files in your file directory, you might want to give it a try.  Do not erase the files you mark with "-old" as you may need them in the future or to restore functionality if my fix doesn't work.
#2
Ad Support / Re: it adds 2 ads at a time
December 08, 2010, 11:22:23 AM
Quote from: thefley on September 03, 2010, 09:52:49 AM
Ok fixed. thx

Any chance you can share how you fixed the double posting with the rest of us?

Thanks
#3
General Support / Re: Ads not showing
December 08, 2010, 07:49:03 AM
Same problem here.  There is no problem with the html since it is an Amazon ad.