Coinbase

Author Topic: version 1.1.5 and admod  (Read 3575 times)

0 Members and 1 Guest are viewing this topic.

Offline sweepsmaster

  • Newbie
  • *
  • Posts: 4
version 1.1.5 and admod
« on: August 23, 2008, 02:53:08 pm »
I tried getting this admod installed with the package manager but kept getting parse errors on the execution so I decided to do a manual install per the instructions. Did all the steps and there was no "ad managemet" link in the admin cp. So i read this other post that if I copied ads.english.php to ads.english.utf8.php the ad management link would appear. Well it did appear but not when I click the link I get this error:

An Error Has Occurred!

Unable to load the 'main' template.

I had the admod running with no problems under 1.1.4 then I upgraded to 1.1.5 and the reinstall has never worked.

I appreciated any advice.

-Ken

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: version 1.1.5 and admod
« Reply #1 on: August 23, 2008, 06:49:14 pm »
Can you attach your index.template.php file?

Offline sweepsmaster

  • Newbie
  • *
  • Posts: 4
Re: version 1.1.5 and admod
« Reply #2 on: August 24, 2008, 07:31:32 am »
Here it is.

Offline sweepsmaster

  • Newbie
  • *
  • Posts: 4
Re: version 1.1.5 and admod
« Reply #3 on: August 26, 2008, 04:03:36 am »
OK, I installed manual a second time still same error about the template. Undefined Index error in log.
I have the both the english and utf8 english files in place. Forum set to english. Here is the index.template.php file again.  ::)


Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: version 1.1.5 and admod
« Reply #4 on: August 26, 2008, 12:31:06 pm »
OK, I installed manual a second time still same error about the template. Undefined Index error in log.
I have the both the english and utf8 english files in place. Forum set to english. Here is the index.template.php file again.  ::)



What exactly was undefined? What's the error message?

Offline sweepsmaster

  • Newbie
  • *
  • Posts: 4
Re: version 1.1.5 and admod
« Reply #5 on: August 26, 2008, 01:38:41 pm »
I hired a developer to fix this for me. I'll try and loop back and post what the fix was. Thank you.

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: version 1.1.5 and admod
« Reply #6 on: August 26, 2008, 01:47:17 pm »
Personally, it's quite an easy fix. An undefined index error is just a php warning statement and it usually doesn't cause problems. However it can at times since the variable's value is undefined and could be interpreted incorrectly by the SQL database.

The simple solution in fixing the errors would be to locate the file in question and then work backwards on how it was defined itself. SMF itself uses the eval() function, meaning the file it spits out might be incorrect (you'll see something like eval'd? on the error).

To rectify that problem, you need to disable the eval() templating function entirely. To do so:

Open your phpMyAdmin utility found in the cpanel.

Run:
INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);

Then propagate the errors again.

SMF Ads Support Forum

Re: version 1.1.5 and admod
« Reply #6 on: August 26, 2008, 01:47:17 pm »
.

 

.