Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

main_above sub template - eval?

Aloittaja JF3000, tammikuu 02, 2010, 02:42:44 IP

« edellinen - seuraava »

JF3000

Added sql and it says:


8: Undefined index: action
File: /home/domain/public_html/software/Themes/default/index.template.php
Line: 499

JF3000

Line 499 and 500:

if ($_POST["action"] == "affiliateadmin")
$context['current_action'] = $_POST["action"];

Tyrsson

Please attach that file to your next post and a link to the last mod you were trying to install when this error showed up.
PM at your own risk, some I answer, if they are interesting, some I ignore.

JF3000

link to the mod huh? The error showed up when I simply tried to logon to the site, I can login to the site, buit then I get the error and everything stops loading, I cant access anything.

Tyrsson

Try this file and see if your still getting the error.
PM at your own risk, some I answer, if they are interesting, some I ignore.

JF3000

Excellent that worked, what was the problem?

JF3000

There is a message that says: This patch file will update your forum to SMF 1.1.11., should I upgrade?

JF3000

Error:


512: parseModification(): The filename './index.php' is not a full path!
File: /home/domain/public_html/software/Sources/Subs-Package.php
Line: 1339


Thats trying to remove the current mods I have which is only 5 mods.

1.     Hack's Park Shoutbox     2.0.1     [ Uninstall ]
2.    Affiliate System    1.1    [ Uninstall ]
3.    SimplePortal    2.3    [ Uninstall ]
4.    PaypalDonations    2.0    [ Uninstall ]
5.    DisableTemplateEval    1.2    [ Uninstall ]



JF3000

Okay just an update, ive killed off the affiliate mod which I had on there from the beginning, ive gone through the files and removed everything. In the installed packages area though when I try to uninstall a mod I get this message:


Type  Action  Description
1. Execute Modification ./index.php Test failed
2. Execute Modification ./Sources/Subs.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test failed
4. Execute Modification ./Themes/default/index.template.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful


Why are those files failing?

The above happens on any mod, except the affiliate mod, if I try to uninstall the mod which I know isnt there I get this message:


512: parseModification(): The filename './index.php' is not a full path!
File: /home/domain/public_html/software/Sources/Subs-Package.php
Line: 1339


Line 1339 says this:


trigger_error('parseModification(): The filename \'' . $working_file . '\' is not a full path!', E_USER_WARNING);


Any help to understand this is appreciated. Thank you.

Kar.ma

Hi. I had a similar problem and couldn't understand which "Line: 603" my forum was talking about. You made me find out it was the index.template.php file, and I could get it fixed. I'm writing now just to share and thank you.
My SMF Forum: http://forum.associazioneelectron.org [nofollow]

Advertisement: