Advertisement:

Author Topic: Package Installation  (Read 2284 times)

Offline TheMan177

  • Semi-Newbie
  • *
  • Posts: 18
Package Installation
« on: May 04, 2008, 10:21:13 AM »
Okay, there's a few of these floating around, bit I think this is different...

I just updated to 2.0 Beta 3.1 from 3.0, all seemed to go fine. When attempting to install a package (I've tried more then one, all are up-to-date), the upload completes successfully, I try to apply the mod and I get this error:

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

These entries in the error log are also created:

Code: [Select]
2: Invalid argument supplied for foreach()

File: /home/account/public_html/forums/Themes/default/Packages.template.php (view_package sub template - eval?)
Line: 319

8: Undefined variable: js_operations

File: /home/account/public_html/forums/Themes/default/Packages.template.php (view_package sub template - eval?)
Line: 319

Offline TheMan177

  • Semi-Newbie
  • *
  • Posts: 18
Re: Package Installation
« Reply #1 on: May 05, 2008, 09:11:59 AM »
Anyone?

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,647
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Package Installation
« Reply #2 on: May 11, 2008, 01:34:12 PM »
If there are no mods installed? Can you do this for me please:

This is an eval error, the error might not even be in that file.

you'll have to disable template eval temporarily to get the real file and error line.

To do this, run this query in PHPmyAdmin (What is phpMyAdmin?)

Code: [Select]
INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);
Once that's done, get the error again and copy it (the file and line may have changed), then run this query to re-enable it:

Code: [Select]
DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.