Package Installation

Started by TheMan177, May 04, 2008, 10:21:13 AM

Previous topic - Next topic

TheMan177

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:


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

TheMan177


Jade Elizabeth

If there are no mods installed? Can you do this for me please:

Quote from: BlackMage on October 15, 2007, 09:44:35 AM
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?)

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:

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.

Advertisement: