Coinbase

Author Topic: Error - LoadAds.php is missing or corrupt  (Read 190 times)

0 Members and 1 Guest are viewing this topic.

Offline Mali

  • Newbie
  • *
  • Posts: 3
Error - LoadAds.php is missing or corrupt
« on: July 31, 2018, 11:22:33 am »
Greetings. I installed v2.3 of Ad Management and the Package Manager said installed without issue. However, when I click on Edit Ads under Ad Management I get and error that states that the LoadAds.php file is missing/corrupt from the Sources directory.

I have verified the file is there, manually uploaded a new copy from the zip file to the Sources folder, set rights to 0777 on the file, and still I get the error.

Any thoughts on next steps?

Offline vbgamer45

  • Owner
  • Full Member
  • *
  • Posts: 140
Re: Error - LoadAds.php is missing or corrupt
« Reply #1 on: July 31, 2018, 11:29:59 am »
Is that the exact error message? Is the file in your sources spelled exact LoadAds.php

Offline Mali

  • Newbie
  • *
  • Posts: 3
Re: Error - LoadAds.php is missing or corrupt
« Reply #2 on: July 31, 2018, 11:34:21 am »
Here is the exact message:

Quote
Issue with the Ad Mod
LoadAds.php is missing/corrupt from your sources directory. Please make sure that it uploaded properly. The Ad mod won't be able to function properly. If you are having issues, please visit www.smfads.com!
As far as I can tell the name is correct. Capitalization is the same in the error and  for the file that is in the /Sources folder.
« Last Edit: July 31, 2018, 11:36:54 am by Mali »

Offline vbgamer45

  • Owner
  • Full Member
  • *
  • Posts: 140
Re: Error - LoadAds.php is missing or corrupt
« Reply #3 on: July 31, 2018, 11:51:10 am »
I think you are misssing this edit
In your index.php
Code: [Select]
require_once($sourcedir . '/Security.php');
Add after
Code: [Select]
if (file_exists($sourcedir . '/LoadAds.php'))
require_once($sourcedir . '/LoadAds.php');

Offline Mali

  • Newbie
  • *
  • Posts: 3
Re: Error - LoadAds.php is missing or corrupt
« Reply #4 on: July 31, 2018, 08:25:19 pm »
That was it. Thank you very much!

Offline PATRICIA

  • Newbie
  • *
  • Posts: 1
Re: Error - LoadAds.php is missing or corrupt
« Reply #5 on: August 01, 2018, 10:32:34 am »
Thank you very much! :) :)

SMF Ads Support Forum

Re: Error - LoadAds.php is missing or corrupt
« Reply #5 on: August 01, 2018, 10:32:34 am »
.