Jump to content

Problems with my contact form in shop


THYE

Recommended Posts

Hello,

 

Anyone who can help a NOVICE in Prestashop

 

Going to my shop and trying to send a mail throgh "contact" i get a hyyp 500 failure !!

 

I have done this:

 

Through Employees - Contacts, i have made two new contacts which are: Webmaster and Customer Service

Both these er made with my own e-mail

 

Through Preferrences - E-mail - is configured with settings: use PHP and both

 

Trying to send a mail through the test-email service (same mailadress as used with Webmaster and Customer Service) - THIS WORKS without any problems

 

What am I doing wrong ?

 

Thanks in advance

Jakob

Link to comment
Share on other sites

Hi THYE,

I took a look at this and spoke with a developer, and it appears that you have a php error causing you this issue. In order to fix this issue, I would suggest that you first call your hosting provider, give them this information and ask them for their assistance in identifying the source of the error.

 

I hope this helps.

 

-Mike

Link to comment
Share on other sites

Hi again Mike,

 

Do this help in solving my issue ?

 

These are my settings from my hosting provider:

 

System Linux ws55.surf-town.net 2.6.18-338.19.1.el5.lve0.8.36PAE #1 SMP Wed Jul 27 14:18:33 EEST 2011 i686 Build Date Jan 20 2011 11:30:41 Configure Command './configure' '--localstatedir=/var/hsphere/php' '--with-bz2=/hsphere/shared' '--enable-ctype' '--enable-dba' '--enable-ftp' '--with-gettext=/hsphere/shared' '--enable-mbstring=all' '--with-gd' '--with-mhash=/hsphere/shared' '--with-mcrypt=/hsphere/shared' '--with-openssl=/usr' '--enable-overload' '--enable-posix' '--enable-session' '--enable-sockets' '--enable-standard' '--enable-tokenizer' '--with-xml=/hsphere/shared' '--with-xsl=/hsphere/shared' '--with-zip=/hsphere/shared' '--with-zlib=/hsphere/shared' '--with-zlib-dir=/hsphere/shared' '--with-freetype-dir=/hsphere/shared' '--with-png-dir=/hsphere/shared' '--with-jpeg-dir=/hsphere/shared' '--with-expat-dir=/hsphere/shared' '--with-iconv-dir=/hsphere/shared' '--with-libxml-dir=/hsphere/shared' '--enable-gd-native-ttf' '--with-ttf' '--enable-mbstr-enc-trans' '--with-expat-dir=/hsphere/shared' '--with-xslt-sablot=/hsphere/shared' '--with-gnu-ld' '--with-curl=shared,/hsphere/shared' '--with-curlwrappers' '--with-dom=shared,/hsphere/shared' '--with-dom-xslt=/hsphere/shared' '--with-dom-exslt=/hsphere/shared' '--with-dom=shared,/hsphere/shared' '--with-fileinfo=shared,/hsphere/shared' '--with-gmp=shared,/hsphere/shared' '--with-iconv=shared,/hsphere/shared' '--with-imap=shared,/hsphere/shared' '--with-imap-ssl=shared,/usr' '--with-mcal=shared,/hsphere/shared' '--with-mysql=shared,/usr' '--with-mysqli=shared' '--with-pgsql=shared,/usr' '--with-sqlite=shared' '--enable-sqlite-utf8' '--with-unixODBC=shared,/hsphere/shared' '--with-xmlrpc=shared' '--enable-htscanner' '--enable-track-vars' '--enable-trans-sid' '--enable-memory-limit' '--enable-force-cgi-redirect' '--enable-fastcgi' '--with-config-file-path=/hsphere/local/config/httpd2/php5' '--with-config-file-scan-dir=/hsphere/local/config/httpd2/php5/php.d' '--enable-magic-quotes' '--with-pear=/hsphere/shared/apache2/libexec/php5ext/php' '--with-mime-magic=/hsphere/local/config/httpd2/magic' '--with-inifile' '--with-flatfile' '--enable-pdo=shared' '--with-pdo-sqlite=shared' '--with-pdo-mysql=shared' '--with-pdo-pgsql=shared' '--prefix=/hsphere/shared/php5-2' '--with-apxs2=/hsphere/shared/apache2/bin/apxs' '--enable-cli' Server API Apache 2.0 Handler Virtual Directory Support enabled Configuration File (php.ini) Path /hsphere/local/config/httpd2/php5 Loaded Configuration File /hsphere/local/config/httpd2/php5/php.ini Scan this dir for additional .ini files /hsphere/local/config/httpd2/php5/php.d additional .ini files parsed /hsphere/local/config/httpd2/php5/php.d/bcmath.ini, /hsphere/local/config/httpd2/php5/php.d/calendar.ini, /hsphere/local/config/httpd2/php5/php.d/curl.ini, /hsphere/local/config/httpd2/php5/php.d/dbase.ini, /hsphere/local/config/httpd2/php5/php.d/exif.ini, /hsphere/local/config/httpd2/php5/php.d/fileinfo.ini, /hsphere/local/config/httpd2/php5/php.d/gmp.ini, /hsphere/local/config/httpd2/php5/php.d/htscanner.ini, /hsphere/local/config/httpd2/php5/php.d/iconv.ini, /hsphere/local/config/httpd2/php5/php.d/imap.ini, /hsphere/local/config/httpd2/php5/php.d/ioncube.ini, /hsphere/local/config/httpd2/php5/php.d/ldap.ini, /hsphere/local/config/httpd2/php5/php.d/mysql.ini, /hsphere/local/config/httpd2/php5/php.d/mysqli.ini, /hsphere/local/config/httpd2/php5/php.d/ncurses.ini, /hsphere/local/config/httpd2/php5/php.d/odbc.ini, /hsphere/local/config/httpd2/php5/php.d/pcntl.ini, /hsphere/local/config/httpd2/php5/php.d/pdo.ini, /hsphere/local/config/httpd2/php5/php.d/pdo_mysql.ini, /hsphere/local/config/httpd2/php5/php.d/pdo_pgsql.ini, /hsphere/local/config/httpd2/php5/php.d/pdo_sqlite.ini, /hsphere/local/config/httpd2/php5/php.d/pgsql.ini, /hsphere/local/config/httpd2/php5/php.d/pspell.ini, /hsphere/local/config/httpd2/php5/php.d/shmop.ini, /hsphere/local/config/httpd2/php5/php.d/soap.ini, /hsphere/local/config/httpd2/php5/php.d/sqlite.ini, /hsphere/local/config/httpd2/php5/php.d/sysvmsg.ini, /hsphere/local/config/httpd2/php5/php.d/sysvsem.ini, /hsphere/local/config/httpd2/php5/php.d/sysvshm.ini, /hsphere/local/config/httpd2/php5/php.d/xmlrpc.ini, /hsphere/local/config/httpd2/php5/php.d/zend.ini, /hsphere/local/config/httpd2/php5/php.d/zmnogosearch.ini PHP API 20041225 PHP Extension 20060613 Zend Extension 220060519 Debug Build no Thread Safety enabled Zend Memory Manager enabled IPv6 Support enabled Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, data Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters zlib.*, bzip2.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*

Link to comment
Share on other sites

Hi again Mike,

 

Been in contact with my hosting provider again and they trie to help me this far:

 

I got this message from them:

2. PHP Fatal error: Class 'Swift_Message_Image' not found in /safetec.dk/shop/classes/Mail.php on line 171, referer: http://safetec.dk/shop/contact-form.php

 

Failure nr. 2 is the one which influence on your contact form.

This is just telling that there is missing a PHP class by the name "Swift_Message_Image" in /safetec.dk/shop/classes/Mail.php on line 171.

 

As you alreday know im a NOVICE and thought that you might be able to tell me out of this what to insert and where in line 171 - this is my line 171 :<td onclick="parent.prop('%2Fsafetec.dk%2Fshop%2Fclasses%2FConfiguration.php')"><b>php</b></td><td align=center onclick="parent.prop('%2Fsafetec.dk%2Fshop%2Fclasses%2FConfiguration.php')"><font class='dirline'>bizer1:bizer1</font></td><td align=right onclick="parent.prop('%2Fsafetec.dk%2Fshop%2Fclasses%2FConfiguration.php')"><font class='dirline'>9.43 Kb</font></td>

 

Really do hope you are able to help.

Thanks in advance

Jakob

Link to comment
Share on other sites

Hi Jakob,

In this situation, you would probably be best served calling our support team at 888 947 6543 to get assistance on this.

 

-Mike

 

Hi Mike,

I have got a similar problem. Would you please help me ,the question is here: :)

http://www.prestashop.com/forums/topic/142198-no-customer-order-or-registration-confirmation-email-being-sent/page__fromsearch__1

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...