“Error, no Ad ID set! Check your syntax!” after Update
-
Hello,
we are updating WordPress and AdRotate, having waited for a long time, but it is necessary now.
The Update is from Version 3.7.4.2 to the latest Version (5.8.15). We have waited this long to avoid update problems,
On the Test Site the Update is done, and we see “Error, no Ad ID set! Check your syntax!” where Ads should be.
In the Backend I see that the Dates for start and Stop of the Ads have gone, they are 01-01-1970 now (although in the overview the Date is correct)I have searched on the WordPress Plugin Page and the ajdg.solutions Web Site for answers. Here are some:
-> The “Error, no Ad ID set! Check your syntax!“ when editing an advert indicates a database issue.
So, I would like to investigate this issue.
-> Any errors with the database can be found in your servers error_log file.
My Provider doesn’t provide the MySQL log file. The PHP Log file is clear of adrotate errors
-> Try disabling your adblocker
Did that, no change
-> Completely uninstall the plugin and start over with a new database from the latest version ?? You’ll loose all AdRotate data, but it saves you from fixing the database.
I would love to fix the database. How can i do this? What must I do? I am experienced with MySQL
-> In one of your answers (can’t find the exact statement at the moment) you said something like “update doesn’t work the normal way here, you have to run the update scripts in adrotate-setup.php manually.”
Can you tell me which scripts to run (in phpMyAdmin)? Maybe it’s not the CREATE stuff, more UPDATE or ALTER TABLE etc.
Thanks a lot!
- The topic ‘“Error, no Ad ID set! Check your syntax!” after Update’ is closed to new replies.