jmase Posted January 10, 2011 Share Posted January 10, 2011 Hey, im having some problems with a site I am currently developing using Prestashop:http://www.glhf.co.uk/store2/When a user registers, it takes them to a page where they fill in all their details - when they press next to complete the form, it simply takes them to a blank page with nothing on. Also, it doesnt send a confirmation or email activation email to the user.The same applies for the newsletter. When a user puts in their email and signs up to the newsletter - bottom left - It takes them to a blank page and no email is sent to them either.Any help is muchly appreciated thank you!Kind regards! Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 Edit config/config.inc.php and temporarily change 'display_errors' from 'off' to 'on'. You should then get an error message instead of a blank page, which will help to figure out what is going wrong. Link to comment Share on other sites More sharing options...
jmase Posted January 10, 2011 Author Share Posted January 10, 2011 hey its you again rocky When a user subscribes to the newsletter:"Warning: include_once(/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift.php) [function.include-once]: failed to open stream: No such file or directory in /home/thelocat/public_html/www.glhf.co.uk/store2/classes/Mail.php on line 15Warning: include_once() [function.include]: Failed opening '/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thelocat/public_html/www.glhf.co.uk/store2/classes/Mail.php on line 15Warning: require_once(/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/../Swift/LogContainer.php) [function.require-once]: failed to open stream: No such file or directory in /home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/ClassLoader.php on line 35Fatal error: require_once() [function.require]: Failed opening required '/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/../Swift/LogContainer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/ClassLoader.php on line 35" Link to comment Share on other sites More sharing options...
jmase Posted January 10, 2011 Author Share Posted January 10, 2011 and when a user signs up:Warning: include_once(/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift.php) [function.include-once]: failed to open stream: No such file or directory in /home/thelocat/public_html/www.glhf.co.uk/store2/classes/Mail.php on line 15Warning: include_once() [function.include]: Failed opening '/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thelocat/public_html/www.glhf.co.uk/store2/classes/Mail.php on line 15Warning: require_once(/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/../Swift/LogContainer.php) [function.require-once]: failed to open stream: No such file or directory in /home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/ClassLoader.php on line 35Fatal error: require_once() [function.require]: Failed opening required '/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/../Swift/LogContainer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/ClassLoader.php on line 35On line 15 of mail.php in dreamweaver I have:include_once(_PS_SWIFT_DIR_.'Swift.php');On line 35 of classloader.php in dreamweaver i have:require_once SWIFT_ABS_PATH . "/" . str_replace("_", "/", $name) . ".php"; Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 It seems tools/swift/Swift.php is missing. Make sure it has been properly uploaded to your server. Link to comment Share on other sites More sharing options...
jmase Posted January 10, 2011 Author Share Posted January 10, 2011 right I uploaded swift.php (it wasnt there for some reason) and that appears to have removed some of the error, but I am still getting this error on a blank page:"Warning: require_once(/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/../Swift/LogContainer.php) [function.require-once]: failed to open stream: No such file or directory in /home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/ClassLoader.php on line 35Fatal error: require_once() [function.require]: Failed opening required '/home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/../Swift/LogContainer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thelocat/public_html/www.glhf.co.uk/store2/tools/swift/Swift/ClassLoader.php on line 35" Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 It seems tools/swift/Swift/LogContainer.php is missing too. You should check the log in your FTP client. It looks like it is skipping files. Link to comment Share on other sites More sharing options...
jmase Posted January 10, 2011 Author Share Posted January 10, 2011 Ok, i reuploaded the entire tools/swift folder and it appears to be working correctly now.I wonder though, once a user has created an account / signed up to the newsletter, should it send an email to them notifying them of the account creation? Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 Yes, PrestaShop uses the mails//account.html and account.txt email templates to send an email to a customer when they create an account. 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