1
davidl2
Parse error: - Blank screen on register.php
  • 2005/6/11 2:57

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


My turn to ask for help

I've installed a new site using 2.0.10

Upon registering, I get a blank screen on register.php

The error message on phpdebug is:

Parse error: parse error, unexpected $ in /home/httpd/vhosts/urlname.com/httpdocs/class/mail/phpmailer/class.phpmailer.php on line 1230

Any ideas at all?

Thanks in advance!

2
davidl2
Re: Parse error: - Blank screen on register.php
  • 2005/6/11 3:06

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Right - I found this out

I was advised to make a slight change in language/english/global.php - changing _CHARSET to UTF-8 - for other language support.

Apparently I needed to make the same change in class.phpmailer.php as well - as per the posting below

https://xoops.org/modules/newbb/viewtopic.php?topic_id=17003&forum=7&post_id=71531#forumpost71531

3
rowdie
Re: Parse error: - Blank screen on register.php
  • 2005/6/12 16:32

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Just for future reference... there is a better way of changing the mail encoding that doesn't involve changing core files (explained in this post).

You should probably also make sure you've saved all your language files using utf-8 encoding... I haven't had any problems when I didn't do it, but apparantly it can cause problems for some (or so I've read). Just to be safe I later re-saved all my language files making sure they were saved using utf-8 encoding.

edit: and now I've just read that saving the page with utf-8 encoding causes rendering problems. lol . To be honest, I haven't seen a difference either way.

Login

Who's Online

538 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 538


more...

Donat-O-Meter

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

Latest GitHub Commits