Andrei_ Posted October 28, 2010 Share Posted October 28, 2010 Am o problema foarte mare....Orice script as adauga in header.tpl imi da eroare in sensul ca nu imi mai afiseaza nimic pe pagina, e goala pur si simplu...Deci am in <head> destinatia catre script-ul principal In body am : Acasa Accesorii Baloane Aranjamente florale Fantana de ciocolata Phones Printers tot in body am si scriptul asta care de la el nu-mi mai afiseaza nimic : [removed] $(function() { var d=1000; $('#menu span').each(function(){ $(this).stop().animate({ 'top':'-17px' },d+=250); }); $('#menu > li').hover( function () { var $this = $(this); $('a',$this).addClass('hover'); $('span',$this).stop().animate({'top':'40px'},300).css({'zIndex':'10'}); }, function () { var $this = $(this); $('a',$this).removeClass('hover'); $('span',$this).stop().animate({'top':'-17px'},800).css({'zIndex':'-1'}); } ); }); [removed] Am incercat si cu alte scripturi si la fel imi face... :| Link to comment Share on other sites More sharing options...
Abh Posted October 29, 2010 Share Posted October 29, 2010 Andrei, intra in config/config.inc, sterge linia ini_set('display_errors', 'off'); si fa refresh sa vezi ce eroare iti da. Link to comment Share on other sites More sharing options...
Andrei_ Posted October 29, 2010 Author Share Posted October 29, 2010 Multumesc pentru raspuns, o sa revin si la asta dupa ce termin si cu problema urmatoare....Nu imi merge formularul de contact. Imi dadea eroarea an error occurred while sending message. Acum, dupa ce am sters si linia aia de cod, imi descrie problema asa : Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\tools\swift\Swift\Plugin\MailSend.php on line 160160 : if (!ini_get("safe_mode")) $success = mail($to, $subject, $message, $headers, $params);161 : else $success = mail($to, $subject, $message, $headers);As mai spune ca mie de la inceput nu mi-a mers asta... la instalerea PrestaShop aveam acolo sa verific daca merge sa se trimita pe adresa de mail si nici atunci nu mergea si bineinteles ca nici acum.O fi problema ca lucrez pe wamp server ? Eu mi-am mai facut cateva site-uri si mereu am avut probleme cu formularul de contact pe wamp, dar pe host mergea bine...Astept un raspuns daca stiti. Multumesc.Nu pot nici sa-l sui pe host :| In config am asa : <?php define('__PS_BASE_URI__', '/'); define('_THEME_NAME_', 'prestashop'); define('_DB_NAME_', 'dreamw_magazin'); define('_DB_SERVER_', 'www.site-ul-meu.org'); define('_DB_USER_', 'dreamw_admin'); define('_DB_PREFIX_', 'dreamw_'); define('_DB_PASSWD_', 'pass'); define('_DB_TYPE_', 'MySQL'); define('_COOKIE_KEY_', 'dkvOdCYSoNcDi0pO0jxAkyWVkx9JEwMIwRNbOhXmca9L7ySe0eRKnnK8'); define('_COOKIE_IV_', 'vbcbUKEF'); define('_PS_VERSION_', '1.3.2.3'); ?> In MySQL Databases am asa :http://img833.imageshack.us/i/mysqldatabase.png/In PhpMyAdmin am asa :http://img442.imageshack.us/i/phpmyadminy.png/Ce nu e bine ? :|Eroarea care stau mai mult de un minut sa-mi apara, e :Titlu : 500 Server errorInternal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Link to comment Share on other sites More sharing options...
Abh Posted October 29, 2010 Share Posted October 29, 2010 Nu ti-e setat serverul de smtp in php.Deschide php.ini de prin wamp (n-am idee exact unde ti-e, eu folosesc xampp) si cauti [mail function]Setarile mele, fiind la rds, sunt: SMTP = mail.rdslink.ro ; http://php.net/smtp-port smtp_port = 25 Link to comment Share on other sites More sharing options...
Andrei_ Posted October 29, 2010 Author Share Posted October 29, 2010 Aveam :[mail function]; For Win32 only.; http://php.net/smtpSMTP = localhost; http://php.net/smtp-portsmtp_port = 25Si acum am pus :[mail function]; For Win32 only.; http://php.net/smtpSMTP = mail.rdslink.ro; http://php.net/smtp-portsmtp_port = 25Am rezolvat asta cu mailul . Trebuia sa pun si din Preferences -> Email -> la port : mail.rdslink.ro Link to comment Share on other sites More sharing options...
Abh Posted October 29, 2010 Share Posted October 29, 2010 Legat de prima problema, urca cumva site-ul pe host si lasa un link catre el. Link to comment Share on other sites More sharing options...
Andrei_ Posted October 30, 2010 Author Share Posted October 30, 2010 In momentul asta site-ul (fisierele) se afla pe un host de-al unui prieten: A i c i !. Tot nu pot sa fac legatua dintre baza de date si fisiere :| Link to comment Share on other sites More sharing options...
Abh Posted October 30, 2010 Share Posted October 30, 2010 Aia o faci din config/settings.inc.phpCe ai incercat? Link to comment Share on other sites More sharing options...
Andrei_ Posted October 30, 2010 Author Share Posted October 30, 2010 Pai uitate in postul meu de mai sus ce am in config, bd si phpmyadmin. Nu inteleg ce nu e bine.... Link to comment Share on other sites More sharing options...
Abh Posted October 30, 2010 Share Posted October 30, 2010 define('_DB_SERVER_', 'localhost'); Link to comment Share on other sites More sharing options...
Andrei_ Posted October 30, 2010 Author Share Posted October 30, 2010 Ok. Se pare ca mi-ar merge dar am niste erori. Va rog, daca puteti sa va uitati voi ca nu inteleg ce e gresit de a intrat in modul offline :|L-am pus in folderul principal (www) acum. Deci el este la linkul www.dreamwomen.org Link to comment Share on other sites More sharing options...
Abh Posted October 30, 2010 Share Posted October 30, 2010 Mergi in panoul de adminstrare la tab-ul Preferences si fa-ti acolo setarile. Una din ele e ca sa scoti magazinul din mentenanta, alta pentru timezone... pe urma vezi daca/ce erori iti mai da. Link to comment Share on other sites More sharing options...
Andrei_ Posted October 30, 2010 Author Share Posted October 30, 2010 Ok. Multumesc mult pentru raspunsuri, dar cred ca o s-o iau eu de la capat ca deja ma enervez prea rau... Prostia mea ca lucrez ca bou pe wamp in loc sa lucrez direct pe host. Iti dai seama ca problema nu vine numai de la modul offline ci e mai mult de atat. Atat timp cat pe wamp server merge si aici nu, e clar ca sunt mai multe erori si asta cred ca tine si de host. Il iau de la inceput si ce o iesi, o iesi, incerc cu copy-paste prin fisiere, dar nu prea inteleg cum e cu baza de date. Sper sa iasa bine. Multumesc inca o data pentru raspunsuri. Link to comment Share on other sites More sharing options...
Abh Posted October 30, 2010 Share Posted October 30, 2010 Asa ma gandeam si eu.Sa ne zici cum iese.Daca ai facut modificari in tpl-urile din tema, e suficient sa o copiezi peste noua instalatie. Link to comment Share on other sites More sharing options...
Andrei_ Posted October 30, 2010 Author Share Posted October 30, 2010 Ar fi bine daca ar merge decat asa Link to comment Share on other sites More sharing options...
Andrei_ Posted October 30, 2010 Author Share Posted October 30, 2010 WoooW. Nu stiu cum, dar a fost destul de usor :D:DMs Abh pentru tot ajutorul. Site-ul e http://www.dreamwomen.org/magazin/ dar mai am de munca la el Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now