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

Ne mogu da sačuvam dodatna podešavanja moda

Started by Skipper., May 16, 2011, 12:48:24 PM

Previous topic - Next topic

Skipper.

Pozdrav

Instalirao sam jedan mod ručno, izvršio potrebne upite u bazi i mod radi. Ali radi osnovna verzija a meni treba i napredne postavke da uključim. E tu nastaje problem. Kada odem u admin panel da uključim i dodatna podešavanja, čekiram potrebne opcije ali neće da tu promenu sačuva.
Kada to uradim u error logu dobijem ove greške koje ne mogu da otklonim

Undefined index: pm_posts_per_hour
Datoteka: /home/xxx/Sources/ModSettings.php
Linija: 267


Undefined index: pm_posts_verification
Datoteka: /home/xxx/Sources/ModSettings.php
Linija: 267


Undefined index: max_pm_recipients
Datoteka: /home/xxx/Sources/ModSettings.php
Linija: 267


Deo koda iz ModSettings.php na koji se odnosi greška

// Saving?
if (isset($_GET['save']))
{
// Fix PM settings.
$_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];
$save_vars = $config_vars;
$save_vars[] = array('text', 'pm_spam_settings');

saveDBSettings($save_vars);

writeLog();
redirectexit('action=featuresettings;sa=basic');
}


I ta linija 267 na kojoj izbacuje grešku
$_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];

Verzija foruma 1.1.13

Ima li neko ideju?
Menjao sam i dozvole na fajlu ali isto se dešava.
It's very simple. Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and—as it always has—rock crushes scissors.

Dzonny

Na kom si fajlu menjao dozvole?
Nedefinisan index je vezan za string koji nedostaje, ali to ovde verovatno nije slučaj, pa je ovo evaluacijska greška.

Skipper.

ModSettings.php

A kako da uklonim tu evaluacijsku grešku?
It's very simple. Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and—as it always has—rock crushes scissors.

Skipper.

It's very simple. Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and—as it always has—rock crushes scissors.

Masterd

Ne, Dzonny, to nije evaluacijska greška. Možemo li dobiti link do moda?

Skipper.

http://custom.simplemachines.org/mods/index.php?mod=710
Thank-o-Matic125v_2

Nije mi prvi put da ga instaliram ali sad jednostavno neće da radi.
It's very simple. Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and—as it always has—rock crushes scissors.

Masterd

Najbolje bi bilo da postaviš svoj problem u temi podrške za taj mod.

Advertisement: