![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 9 Pomógł: 0 Dołączył: 5.02.2011 Ostrzeżenie: (0%) ![]() ![]() |
Witam.
Jestem początkującym jeśli chodzi o tematy skryptów więc proszę o wyrozumiałość. Zakupiłem ostatnio skrypt, który udało mi się przerobić pod moje potrzeby.Niestety email z aktywacją konta nie działa, wyświetla się natomiast taka komenda. The requested URL /aktywacja,13f8501989cdc921d4570d573354fdec,53.html was not found on this server. Podejrzewam że rozwiązanie jest bardzo proste niestety osoba od której kupiłem skrypt niestety nie odpisuje na maile. serwis mieści się pod adresem www.pracadlalekarza.eu Bardzo proszę o pomoc w rozwiązaniu tego problemu. Pozdrawiam Łukasz |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 9 Pomógł: 0 Dołączył: 5.02.2011 Ostrzeżenie: (0%) ![]() ![]() |
juz sie wszystko zrobilo bez www jak skonfigurowałem na serwerze i est akywacja pomuślna ale na gorze wyskakuje
Warning: session_start() [function.session-start]: open(/tmp/sess_56e9c35b7521356cb65338e2cf463020, O_RDWR) failed: Permission denied (13) in /homez.90/pracujwn/www/pracadlalekarza/include/prepend.inc.php on line 2 teraz tylko jak ten błąd zlikwidowac i już powinno hulać. a ten znów wygląda tak: <?php session_start (); require_once('class/mysql.class.php'); require_once('class/session.class.php'); require_once('smarty/Smarty.class.php'); //require_once('seo.inc.php'); $smarty = new Smarty; $smarty -> template_dir = 'templates/'; $smarty -> compile_dir = 'tmp/templates_c/'; $smarty -> config_dir = 'tmp/configs/'; $smarty -> cache_dir = 'tmp/cache/'; //$smarty -> register_function('nopl', 'parse'); require_once('config.inc.php'); $mysql = new sql_db ( $cfg['dbHost'], $cfg['dbUser'], $cfg['dbPass'], $cfg['dbName'] ); $session = new session; $form = $_SERVER['REQUEST_URI']; $smarty -> assign('form', $form); function html( $string ) { return htmlspecialchars( $string ); } if ( $session -> chesk_session () ) { $smarty -> assign('userIsLogin', ''); $smarty -> assign('userLogin', $_SESSION['userLogin']); $smarty -> assign('userOption', $_SESSION['userOption']); } $sql = "SELECT * FROM state ORDER by stateName ASC"; $q = $mysql -> q( $sql ); $state = array(); while ( $db = mysql_fetch_array( $q ) ) { $state[] = $db; $stateName[] = ok_link($db['stateName']); } function ok_link($string) { $unPretty = array('/ę/', '/Ę/', '/ó/', '/Ó/', '/ą/', '/Ą/', '/ś/', '/Ś/', '/ł/', '/Ł/', '/ż/', '/Ż/', '/ź/', '/Ź/', '/ć/', '/Ć/', '/ń/', '/Ń/'); $pretty = array('/e/', '/e/', '/o/', '/o/', '/a/', '/a/', '/s/', '/s/', '/l/', '/l/', '/z/', '/z/', '/z/', '/z/', '/c/', '/c/', '/n/', '/n/'); $permalink = strtolower(preg_replace($unPretty, $pretty, $string)); return str_replace(" ", "-", preg_replace("/[^a-zA-Z0-9 ]/", "", $permalink) ); } ################################################################################ ######## cennik $cennik = array(); $sql = mysql_query("SELECT * FROM cennik ORDER by id ASC"); while($q = mysql_fetch_array($sql)){ $cennik[] = $q['wartosc']; } ################################################################################ ######## cennik $smarty -> assign('state', $state); $smarty -> assign('stateName', $stateName); ?> I pewnie tu coś muszę dopisać. session_start (); Ok już jest wszystko okie. Dziekuję bardzo za pomoc:) Gdzie tu można Bagsowi jakiegoś mega plusa za pomoc dać(IMG:style_emoticons/default/questionmark.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 12:34 |