11
mandrew
Re: Registration Page Garbled
  • 2010/11/16 17:48

  • mandrew

  • Just popping in

  • Posts: 26

  • Since: 2010/11/10


Hi: it's me again. My last post indicated that I was going to install 2.5. I did and everything went well. This time I made sure I didn't change / edit /install any modules to keep everything in it's 'virgin' state. When I did a new registration, guess what, it was exactly the same as 2.4.5 'garbled'.
This must mean that it's not necessarily xoops but something else. Any thoughts.

System specs
Linux: Ubuntu 10.04.1 LTS
xampp: 1.7.3a
php: 5.3.1
mysql: 5.1.41


12
ghia
Re: Registration Page Garbled
  • 2010/11/16 21:55

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you verify all files where there with the checksum?
Any messages when debug is on?

As the registering actually takes place, I suspect something with the mail configuration.
Can you send mails, with other functions as eg notifications, or admin function?

13
mandrew
Re: Registration Page Garbled
  • 2010/11/16 22:27

  • mandrew

  • Just popping in

  • Posts: 26

  • Since: 2010/11/10


Yes to the checksum

There are 2738 files checked.
Please remove the file ./checksum.md5 and checksum.php as soon as possible.

Bye the way, the site you registered with is the older 2.4.5 which I reverted back to because 2.5 didn't solve the problem.

Yes, the Mail Users does eventually send emails, but again you are presented with the garbled text as soon as you click the Send button.

‹ì]{wÛ6²ÿ;9g¿Ê=·²kZ"õ–c©;nâ _µ•v{÷ìq ’P“„ʇeuw¿û@‰zСœ´Mî‰ÛñÌ㇙Á ï^]÷¾:!ãØ÷ÈÕÛ£³ÓcbìW*?ÕŽ+•WýWäoúçgÄ.[¤Ò â1õ*•“ ƒcÇ“ƒJe:–§µ²G•þuå‰ÙX[_îÇ™ªe7vÞóCÉñÁ÷‚¨»ŒÝétTm x4u

...........etc

You are getting close with the email suggestion tho'




14
ghia
Re: Registration Page Garbled
  • 2010/11/17 2:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try once this testmail.php (change the address):
<?php
// Send
mail'test@example.com''Subject test''Message test');
?>



15
mandrew
Re: Registration Page Garbled
  • 2010/11/17 2:44

  • mandrew

  • Just popping in

  • Posts: 26

  • Since: 2010/11/10


did the testmail.php as you suggested and put it in htdocs so I could send it via the browser. Yes it worked and sent me the email to my address.
I hope that's how you wanted it executing

Thanks

16
ghia
Re: Registration Page Garbled
  • 2010/11/17 9:58

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Yes, but maybe the example was too simple to be able provoking the garbled output.
Could you try /misc.php?action=showpopups&type=friend on your site?

17
mandrew
Re: Registration Page Garbled
  • 2010/11/17 13:27

  • mandrew

  • Just popping in

  • Posts: 26

  • Since: 2010/11/10


Morning Ghia:
I placed your info after the newsletter URL and it worked without significant errors or garbled text
-------------------------
The reference to our site has been sent to your friend. Thanks!

None All Errors (1) Deprecated (0) Queries (10) Blocks (0) Extra (3) Timers(3)
Errors
Unknown: Function split() is deprecated in file /class/mail/phpmailer/class.phpmailer.php line 458
---------------------------

Email was received at friends
---------------------------
I'm running out of ideas, as I'm sure you must be by now!!

18
ghia
Re: Registration Page Garbled
  • 2010/11/17 20:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I suspected the email sending, but to rule it defintivly out, you must alter /modules/profile.php once for testing.
Insert a /* before
if ($isNew) {
at line 209
Append a */ after the } in line 269 (second closing bracket line after if ($message) at line 266)
Try to register. No mails will be sent, but registering should take place.
After test upload register.php again from the original archive.

19
mandrew
Re: Registration Page Garbled
  • 2010/11/17 22:26

  • mandrew

  • Just popping in

  • Posts: 26

  • Since: 2010/11/10


I commented out the block between
209 and 269

The result gave me a complete register showing Basic and Complimentary pages

When I reverted back to original script the error occurred again.

I was not sure on the instructions for line 266 and this only caused an error, No page at all.

Is this test good or bad news?

20
ghia
Re: Registration Page Garbled
  • 2010/11/18 10:52

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is good,because we know it seems to come from the mail.
It is bad, because it is not solved yet.

(I tought to indicate line 266 for easier retrieval of the right bracket, but it did confuse you in stead.)

Can you comment out line 267 and see what happens?
$GLOBALS['xoopsTpl']->append('confirm', $message);

Then retry with commenting out line 226
XoopsUserUtility::sendWelcome($newuser);


Did you try already an alternative mail delivery function as sendmail or SMTP in the mail preferences?

Login

Who's Online

211 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits