• Welcome to Simple Machines Community Forum. Please login or sign up.

Postavke modifikacije - Problem

Started by SATmax, November 01, 2013, 12:23:47 PM

Previous topic - Next topic

SATmax

Pozdrav.

Poslije instalacije moda News Letter Mod for SMF v1.25 imam problem u ulazak u Admin panel u Postavke modifikacije i Sigurnost i Modifikacije.

Naime izbacuje slijedeću grešku:

Fatal error: Call to undefined function prepareDBSettingContext() in /home/xxxxxxxx/public_html/forum/Sources/ManageSettings.php on line 3031

E sada što treba modificirati u navedenom ?

Još nešto. Kod ulazka u Tapatalk Settings mogu ući ali prikazuje povećane fontove i na vrhu stranice izbaci slijedeći tekst:

$txt['verification_avatar_means'] = 'Avatar Verification at Registration'; $txt['verification_avatar_means_desc'] = 'This mod enhances the sequrity of your forum by adding yet a verification at registration. The first thing people will see, is one unique image and below that 10 images where one of them is the same as the unique one. The registrant must click on the right image up to 3 times (loop) depending on your settings. If the registrant fails 3 times, he/she is banned from the forum if you have enabled "Ban the user on to many failed registrations". You also have the possability to have a mail send to the admin, every time a user is banned through this mod.'; $txt['verification_avatar_register'] = 'Enable verification images at the registration page'; $txt['verification_image_loop'] = 'Loop the verification image'; $txt['verification_image_loop_desc'] = '(How many times does the registrant have to verify an image)'; $txt['verification_image_loop_0'] = '0 - don\'t loop. Only show the images one time'; $txt['verification_image_loop_1'] = '1 - loop one time. The registrant has to verify two images'; $txt['verification_image_loop_2'] = '2 - loop two times. The registrant has to verify three images'; $txt['verification_avatar_folders'] = 'Folders from which to use avatars as verification'; $txt['verification_avatar_folders_desc'] = '(As standard we use the avatars from the standard SMF avatarfolders. If you want to provide further folders, provide them here as a commaseparated list)'; $txt['verification_avatar_ban_registrant'] = 'Ban the user on to many failed registrations'; $txt['verification_avatar_ban_registrant_desc'] = '(If you want to ban the registrant when trying to many times, enable this option)'; $txt['verification_avatar_first_ban'] = 'How many hours the user should be banned first time'; $txt['verification_avatar_first_ban_desc'] = '(If the registrant fails the avatar verification test, you can decide for how many hours the person is banned)'; $txt['verification_avatar_second_ban'] = 'How many hours the user should be banned the following times'; $txt['verification_avatar_second_ban_desc'] = '(If the registrant keeps failing the avatar verification test, you can decide for how many hours the person is banned)'; $txt['verification_avatar_send_admin_mail'] = 'Send mail to admin on hacking attempt'; $txt['verification_avatar_send_admin_mail_desc'] = '(Select wether you want a mail send to the admin mail account on banned IP\'s)'; $txt['verification_avatar_send_admin_mail_1'] = 'Disabled'; $txt['verification_avatar_send_admin_mail_2'] = 'Only send mail on repeated bannings'; $txt['verification_avatar_send_admin_mail_3'] = 'Send mail on all banned occations';

Može li se maknuti i kako ?

Zahvaljujem unaprijed na pomoći.

Pozdrav.




Branko.

Otvori ManageSettings.php u tekst editoru i pogledaj što piše u liniji 3031. Jedino tako možemo znati što se poziva u tom redu. Uvećan font i pojava txt stringova je obično od neke od modifikacija kojoj je neispravan neki string. Potraži u Modifications.php jezika koji koristiš stringove koje vidiš na vrhu(negdje blizu njih je greška) i pogledaj imaju li svi postojeći ovo što je označeno crveno $txt['xxxxxxxx'] = 'nekitekst';
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

SATmax

Problem je što nemam datoteku ManageSettings.php u /public_html/forum gdje je forum smješten. Ili da je negdje drugo ( putanja ) tražim ?

SATmax

Nadjena na putanji /public_html/forum/Sources i stoji ovaj tekst:

prepareDBSettingContext($config_vars);


SATmax

Quote from: Branko. on November 01, 2013, 12:43:45 PM
Otvori ManageSettings.php u tekst editoru i pogledaj što piše u liniji 3031. Jedino tako možemo znati što se poziva u tom redu. Uvećan font i pojava txt stringova je obično od neke od modifikacija kojoj je neispravan neki string. Potraži u Modifications.php jezika koji koristiš stringove koje vidiš na vrhu(negdje blizu njih je greška) i pogledaj imaju li svi postojeći ovo što je označeno crveno $txt['xxxxxxxx'] = 'nekitekst';

Možeš li dati putanju za ovu datoteku Modifications.php za ispravak uvećanog teksta ?

Branko.

Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Advertisement: