After a clean install of the simpleads module into a clean empty drupal 7.51 site:
- Simpleads is rendering ad blocks, but isn't rendering ad content.
After installation a test ad was created, without any campaign or other configurations to add to complexity.
The ad node shows correctly when edited.
The ad list page shows that the ad is active.
The ad's advertising block appears.
---
the following error occurs
---
Failed to load resource: the server responded with a status of 403 (Forbidden) http://website.url/?q=simpleads/load/48/1
---
This problem appears to be similar to:
https://www.drupal.org/node/1964746 β
---
I modified line 113 of simpleads.js so that it doesn't use a ?q= path structure and the problem went away.
simpleads.js - line 113:
$.get(basepath + '?q=simpleads/load/' + tid + '/' + num, function (data) {
changed the follow js rendering code to:
$.get(basepath + 'simpleads/load/' + tid + '/' + num, function (data) {
$(elem).html(data);
});
---
Is the problem above related to some aspect of http server configuration generally, or drupal clean urls configuration for specifically, or some other coding or configuration conflict?
What can be done to fix the simpleads module so that it renders ad content correctly upon installation on a clean urls site?
---
ps. - I checked the simpleads.js file in the newest dev version and its code has not been modified to address this problem.
Closed: won't fix
1.9
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.