Author Topic: admin email 'security violation'  (Read 3524 times)

0 Members and 1 Guest are viewing this topic.

Offline bine

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • art-stylers free Stockphotos,  Website-Templates and e-cards
admin email 'security violation'
« on: July 02, 2005, 01:34:08 PM »
Hi,

I didn't found anything with the serach function about my problem.

When I click in admin-cp user email, I get the error 'Security violation'

Wht must I do to solve this?
:) bine


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: admin email 'security violation'
« Reply #1 on: July 02, 2005, 04:54:27 PM »
reupload fresh files in /admn/ folder?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bine

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • art-stylers free Stockphotos,  Website-Templates and e-cards
Re: admin email 'security violation'
« Reply #2 on: July 03, 2005, 02:55:15 PM »
Hi,
during installation the shop mod beta in 4images v1.7.1 I made some changes like its written in the mod-installation.txt
At first I uploaded this new file  /4images/admin/plugins/kundendaten.php

and in admin/settings.php I added the function warenkorb_select  after the function function show_language_dir_select like this:
Code: [Select]
function warenkorb_select($setting_name, $setting_value) {
 global $warenkorb_optionlist;
 echo "<select name=\"setting_item[".$setting_name."]\">";
 foreach ($warenkorb_optionlist as $key => $val) {
   echo "<option value=\"$key\"";
   if ($setting_value == $key) {
     echo " selected=\"selected\"";
   }
   echo ">".$val."</option>";
 }
 echo "</select>";
}

and added in  admin/settings.php a new setting_group at the end of the file like this:
Code: [Select]
show_table_separator($setting_group[8], 2, "#setting_group_8");
 show_setting_row("porto");
 show_setting_row("bearbeitung");


  show_form_footer($lang['save_changes'], "", 2);
}

show_admin_footer();
?>

I changed nothing else in the admin-folder, and when I re-upload the original admin/settings.php the error appears also.
:) bine


Offline bine

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • art-stylers free Stockphotos,  Website-Templates and e-cards
Re: admin email 'security violation'
« Reply #3 on: July 03, 2005, 03:42:53 PM »
oh god, I love mistakes like this  :roll:

Problem solved. There are two email.php one in includes and another in admin folder.
And what must I see? in admin folder exist the same file like in includes.

I uploaded original email.php in admin folder and now I see the email-form in admin-cp.

sorry for wasting your time  :oops:
:) bine