Author Topic: After updating to joomla 3.5.1 virtuemart 3.0.14 emails no working  (Read 40107 times)

dimi2013

  • Jr. Member
  • **
  • Posts: 77
Re: After updating to joomla 3.5.1 virtuemart 3.0.14 emails no working
« Reply #15 on: April 08, 2016, 09:02:24 am »
A big thank you to all who participated in bringing this issue to light and providing a fix. It helped me out tremendously. You folks are A-W-E-S-O-M-E!

Anna_Bolika

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: After updating to joomla 3.5.1 virtuemart 3.0.14 emails no working
« Reply #16 on: April 11, 2016, 12:22:53 pm »
The alternative fix to Stan's is to change the function sendVmMail in components/com_virtuemart/helpers/shopfunctionsf.php as follows:

Change (twice)
Code: [Select]
$mailer->addReplyTo( $replyTo );
to
Code: [Select]
$mailer->addReplyTo( $replyTo[0], $replyTo[1] );

Change
Code: [Select]
$mailer->addReplyTo( $replyTo );to
Code: [Select]
$mailer->addReplyTo( $replyTo[0], $replyTo[1] );
Change
Code: [Select]
$mailer->setSender( $sender );to
Code: [Select]
$mailer->setSender( $sender[0], $sender[1] );
This preserves the names and the email addresses.

Best regards,
Reinhold

There's no need to change the 'setSender'-call, that one is still valid.

JacoboPS

  • Beginner
  • *
  • Posts: 42
    • 1001 Especias
  • VirtueMart Version: Joomla 3.5.1 - VM 3.0.14
Re: After updating to joomla 3.5.1 virtuemart 3.0.14 emails no working
« Reply #17 on: April 11, 2016, 13:04:07 pm »
Hello,

After upgrade Joomla 3.5.1 today - I have checkout confirmation error. Virtuemart not confirm the order and I receive this message:

An error has occurred while processing your request.
If difficulties persist, please contact the System Administrator of this site and report the error below.

0 Invalid address:


I find the problem file after upgrade - libraries/joomla/mail/mail.php but I not understand where is the problem.

When I change the old mail.php file from Joomla 3.5.0, the problem is fixed but this is a not good solution.

Well, the patch they refer here for Joomla 3.5.1 and VM 3.0.14 didn't work for me. So, on the meanwhile, I have adopted your patch while I wait for the VM 3.0.16 or find another solution (I have some sort of problem with Joomla upgrade, I still get the "Joomla! 3.5.0 is available: Update Now" message and I have the 3.5.1 running.
Learning, pulling hair out, learning...

brentonking

  • Jr. Member
  • **
  • Posts: 74
    • Brenton King Graphic Design, Web Design and Joomla! Site Development
Re: After updating to joomla 3.5.1 virtuemart 3.0.14 emails no working
« Reply #18 on: April 14, 2016, 02:59:59 am »
Just an additional note (if it hasn't already been mentioned). This same issue also caused a problem with the "Register & Checkout" button, where the user is redirected to MYSITE/shop/user, but receives "0 - Invalid address" message.

The shopfunctionsf.php patch also fixed this issue for me. I do believe I had to update to Virtuemart 3.0.14 for the issue to be sorted too.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28324
  • Always on vacation
    • Jenkin Hill Internet
Re: After updating to joomla 3.5.1 virtuemart 3.0.14 emails no working
« Reply #19 on: April 14, 2016, 12:19:02 pm »
VM3.0.16 has been avaiolable for a couple of days now.  http://dev.virtuemart.net/projects/virtuemart/files
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

stAn99

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 99
    • One Page Checkout for Virtuemart 2
Re: After updating to joomla 3.5.1 virtuemart 3.0.14 emails no working
« Reply #20 on: April 14, 2016, 15:22:23 pm »
hello friends, we had compared all modifications in shopfunctionsf.php since vm3.0.0 to the latest 3.0.16 and created a version that is backward compatible with all of the prior VM versions in case you wanted to run it on latest Joomla 3.5.1 and later

the file can be downloaded from:
http://www.rupostel.com/svn3/shopfunctionsf.php.allversions.src

upload to your /components/com_virtuemart/helpers/shopfunctionsf.php

we also created an installable zip package for joomla that overwrites the core shopfunctionsf.php
http://www.rupostel.com/svn3/shopfunctionsf_joomla_installer.zip

merges include all changes from versions of :
VM3.0.0, 3.0.2, 3.0.4, 3.0.6.2, 3.0.8, 3.0.9.6, 3.0.12, 3.0.13.2, 3.0.14, 3.0.16

best regards, stan
----
RuposTel.com
www.rupostel.com
Your customized checkout solution for Virtuemart

grimeshenry

  • Beginner
  • *
  • Posts: 1
  • A beginner
Hi There

I am using Joomla 3.5.1 and VM 3.0. and still getting "ERROR: 0 Invalid address:"
after getting new file shopfunctionsf.php

Please Help

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10283
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Just use the shopfunctionsf.php of the vm3.0.16
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10510
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Just a heads up

fixed a J3.5.1/VM3.0.16 install today still showing the "ERROR: 0 Invalid address:" and turns out it was because he had messed up his vendors so the reply to email was missing and throwing this exact same error -- so not always this (above) reason causes this problem
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

oneyozfest182

  • Beginner
  • *
  • Posts: 33
  • A beginner
VM3.0.16 with the fix is under test at the moment.

I'm on Joomla 3.5.1 and VM 3.0.16 and still having this error. :( Orders show up in VM but no e-mail is dispatched and the customer gets an error message

Quote
The requested page can't be found.

An error has occurred while processing your request.

You may not be able to visit this page because of:

    an out-of-date bookmark/favourite
    a mistyped address
    a search engine that has an out-of-date listing for this site
    you have no access to this page

If difficulties persist, please contact the System Administrator of this site and report the error below.

    0 Invalid address:

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28324
  • Always on vacation
    • Jenkin Hill Internet

fixed a J3.5.1/VM3.0.16 install today still showing the "ERROR: 0 Invalid address:" and turns out it was because he had messed up his vendors

Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

oneyozfest182

  • Beginner
  • *
  • Posts: 33
  • A beginner
How can I go about working toward a fix? My vendor profile has an e-mail address entered into their profile. :-\

I do have the following "warning" in Joomla:

Quote
The PHP temporary folder is not set.
The PHP temporary folder is the folder that PHP uses to store an uploaded file before Joomla can access this file. Whilst the folder not being set isn't always a problem, if you are having issues with manifest files not being detected or uploaded files not being detected, setting this in your php.ini file might fix the issue.

Could this be any part of the issue?

UPDATE [SOLIVED]: If anyone is still having troubles, please make sure in your Global Config > Server your From email and From Name are NOT blank!

medmantra

  • Beginner
  • *
  • Posts: 3
  • A beginner
Hello,

I have J3.5.1 and VM3.0.16.
Even after applying the above-mentioned fixes and making sure that vendor has email and name (full profile) set up I am getting 0 invalid address error.
My Joomal Admin > Global Config > System does not have "From email" and "From Name" fields. Where exactly am I supposed to look for these?

medmantra

  • Beginner
  • *
  • Posts: 3
  • A beginner
I found it.

It is here:

Joomla Admin > Global Config > Server

and the from email and from name fields are filled and valid.

Any other reasons for the 0 Invalid Address Error?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10510
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
the case I fixed the vendor email was missing because of various vendor config cockups

to find echo out mailer stuff in the helpers/shopfunctionsf.php .. the send mail function .. to find whats missing
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation