Jump to content

<SOLVED> Signups and newsletters not working :( Help please


Recommended Posts

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

hey its you again rocky :D

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 15

Warning: 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 15

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 35

Fatal 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

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 15

Warning: 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 15

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 35

Fatal 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

On 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

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 35

Fatal 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

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

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...