Error in the Ad Module
Collapse
X
-
Tags: None
-
Run the route fix tool in the tools.php file. You'll find this file in the do_not_upload directory of your download package. Upload it to /core/admincp. You will also need to upload /core/install to your server. Once done, delete the /core/install directory and the tools.php file from the server.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
Run the route fix tool in the tools.php file. You'll find this file in the do_not_upload directory of your download package. Upload it to /core/admincp. You will also need to upload /core/install to your server. Once done, delete the /core/install directory and the tools.php file from the server.
1 PhotoComment
-
Run the route fix tool on the same tools.php file.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
Comment
-
-
As to why you're getting Error 0? We don't know. You have provided no information to help us determine that. Running the Route Fix tool resolves the error on the site you referred to. If you follow the instructions in https://www.vbulletin.com/forum/foru...swered-quickly then we can start troubleshooting the issue.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
- vBulletin version: vBulletin 5.3.2 Patch Level 1
- PHP version: 5.6.31
- MySQL version: 10.1.24-MariaDB
- No addons are installed
- The issue occurs regardless of the style. Meaning it appears on all styles.
- I am using the default English language that was provided from vbulletin.
- Error information: "0 error"
- Chrome and Firefox
- Yes. Cleared the cache on Chrome and Firefox.
- On the homepage, top admin navigation bar, Edit page > AD Module. After placing the ad, I click the edit button then Config Ad. Here is where the error message occurs.
- I ran the Route Fix from tools.php
Request URL:https://www.DOMAIN.com/ajax/api/ad/listAdsByLocation
Referrer Policy:no-referrer-when-downgrade
Request Headers
Provisional headers are shown
Accept:application/json, text/javascript, */*; q=0.01
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Origin:https://https://www.DOMAIN.com/
Referer:https://https://www.DOMAIN.com/index.php
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
X-Requested-With:XMLHttpRequest
Form Data
view source
view URL encoded
adlocation:XXX
securitytoken:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I hope I provided enough information!Comment
-
Here is an update:
I have just discovered that all of the modules act the same way. I've tired adding PHP and HTML modules and they do the same thing. They don't save. So the problem is in the module system.
I tried playing around a little bit and here is what I did.- I added an Ad Module.
- I saved the page without changing anything.
- I went back to edit the page and clicked edit on the Ad Module that I have added.
- I clicked Config Ad and the configuration opened.
- I added my ad information and then clicked save and this error showed:
Comment
-
Please put your site in debug mode. What is the other information shown now?
Debug mode is useful for development purposes- it is required if you will be creating VB5 Modifications you intend to distribute for others to download. However it is also useful for trouble-shooting issues with your site as debug mode often provides more specific error messages when something goes wrong- as such if you areTranslations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
Here is the debug information from the bottom of the page
Debug Information
Page ID: 1
Parent ID: 0
Page Template ID: 1
Route ID: 4
Page Type: default
Screen Layout ID: 2
Screen Layout Template: screenlayout_display_wide_narrow
Channel ID: 1
Node ID: 1
Database Asserts: 0 (?)
AJAX Requests: 24
Facebook Active: No (Not enabled or no appid & secret set)
Style ID: 40
Templates/Renders: 44/99
CSS Templates: 5
JS Files: 7
Included Files: 155
Autoloaded Classes: 149
Current Time: Fri, 04 Aug 2017 05:27:01 -0400
Page Time: 0.9591Comment
-
There should be more information in the error message. That is more important. The information on the bottom of the page is only useful for the developers but not in tracking this type of bug.
As you currently have access to Ticket Support, you'll have to submit a ticket with FTP, Database and AdminCP access, in English. The link to submit a ticket is in the footer of this page.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
Maybe this helps you?
This is logged with a fresh installed vB5.3.2 pl1
Code:vBulletin AJAX profile: Before request #27 footer-rollup-532.js:367:14701 vBulletin.loadingIndicator.show Counter: 1 Source: ajaxStart footer-rollup-532.js:367:16198 ajax Error callback: //example.com/ajax/api/ad/listAdsByLocation footer-rollup-532.js:352:760 {textStatus: "error", jqXHRStatus: 0, errorThrown: ""} footer-rollup-532.js:352 vBulletin.loadingIndicator.hide Counter: 0 Source: ajaxStop
Last edited by delicjous; Sun 6 Aug '17, 1:10am.Comment
-
Maybe this helps you?
This is logged with a fresh installed vB5.3.2 pl1
Code:vBulletin AJAX profile: Before request #27 footer-rollup-532.js:367:14701 vBulletin.loadingIndicator.show Counter: 1 Source: ajaxStart footer-rollup-532.js:367:16198 ajax Error callback: //example.com/ajax/api/ad/listAdsByLocation footer-rollup-532.js:352:760 {textStatus: "error", jqXHRStatus: 0, errorThrown: ""} footer-rollup-532.js:352 vBulletin.loadingIndicator.hide Counter: 0 Source: ajaxStop
This is the solution! When I deactivate the adblocker the ad-module open and no error occures..Comment
Related Topics
Collapse
-
by imkkFresh install. Main page loads, but I get the below for anything I try to click on (login, FAQ, Blogs, Groups, etc.). Is the .htaccess file modified during install? I ahve tried the original upload file,...
-
Channel: vBulletin 5 Installs & Upgrades
-
-
by AnendethI recently transferred my host for my website. Prior to the move, it was discussion.mywebsite.com now it is mywebsite.com/discussion
I have uploaded the MySQL to the new database, gone into...-
Channel: Support Issues & Questions
-
Comment