Not Solved [Error Message] Error in ADS-file - but why?
#11
Not Solved
(2026-10-29, 06:18 AM)wageral Wrote:
(2026-10-28, 05:51 PM)Dave H Wrote: I'm not sure what you mean by show the script?  I assume you have a copy on your PC that you uploaded to a server.  I would edit the PC copy and then re-upload.  (Make a backup before editing, of course.)

@Dave H:
I meant to display the content of the ads.php-file here in this thread so maybe someone could take a look........

(2026-10-28, 05:53 PM)RocketFoot Wrote: I've been having pretty good luck with this Ad Plugin...

https://community.mybb.com/mods.php?action=view&pid=39

My Advertisements
by Diogo Parrinha

@RocketFoot:
Thanks for the suggestion, I give that one a try, maybe it works without the errors/warnings in PHP 8.4..........

It works on PHP 8.2.35 but I haven't tried 8.4 yet.
MyBB 1.8.41
alpharomeo15.org
All about guns, knives and gear!
Reply
#12
Not Solved
(2026-10-29, 06:18 AM)wageral Wrote: @Dave H:
I meant to display the content of the ads.php-file here in this thread so maybe someone could take a look........

Oh sorry, I guess I totally misread that and thought you were using an editor in an admin panel or similar.  Hmmm.... via experimentation I see that entering <?-php (without that dash!! - ie the normal php header line) will get you blocked by cloudflare.  (On this forum, but not on my own mybb forum.)  I think this may be some security thing - maybe something left over from php2shell???
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)