PHP Errors

Found a bug?

PHP Errors

Postby bradlis7 » Thu Feb 25, 2010 12:00 pm

It would be good if you would change all
Code: Select all
<?
tags to be
Code: Select all
<?php
instead. I was getting a lot of weird output, and index.php would not redirect because of it. I'm using PHP 5.2.

You would also need to change
Code: Select all
<?=
tags. It's a pain, and if you don't think it's necessary to change, it should at least be documented.
bradlis7
 
Posts: 5
Joined: Thu Feb 25, 2010 11:48 am

Re: PHP Errors

Postby bradlis7 » Thu Feb 25, 2010 4:22 pm

Something else as well, in relay.php, for some reason, it was trying to use IMAP/SSL, even though it said port 143. It was causing imap_open to fail because the certificate was for the actual website, not localhost. I added the /novalidate-cert option:

Code: Select all
$mbox = imap_open("{localhost:143/novalidate-cert}", $config['relay_mailbox'], $config['relay_password']);


Thanks.
bradlis7
 
Posts: 5
Joined: Thu Feb 25, 2010 11:48 am

Re: PHP Errors

Postby scanman20 » Sat Feb 27, 2010 5:59 pm

All will be overhauled for SML 2.
Even a broken clock is right twice a day.
User avatar
scanman20
Site Admin
 
Posts: 1300
Joined: Sat Aug 30, 2003 9:47 am

Re: PHP Errors

Postby francesco_RT » Fri Mar 05, 2010 8:16 am

Hi! I've just found your wonderful script and I'd like to report you some errors/bugs I found testing:

*) The "?>" tag is missing at the end of paginator.class.php!
*) As already reported by bradlis7, it would be good to change all the "<?" and "<?=" tag, adding the missing "php" or "php echo ".
*) When sending email to the newsletter owner only, the sender email address changes to _www@hostname

When will v2.0 be released? :wink: :mrgreen: :mrgreen:
Thanks!!

EDIT: i've also faced the famous "\r\n" problem... I've solved it by commenting these lines in the send.php:
Code: Select all
// $message = mysql_real_escape_string($message);
// $subject = mysql_real_escape_string($subject);


EDIT2: when previewing a long message in a small screen (mine currently is 1366x768, so it's not so small, but..), the "Click to close" button becomes unreachable, as the page continues to scroll down.. :shock:
francesco_RT
 
Posts: 5
Joined: Fri Mar 05, 2010 8:04 am

Re: PHP Errors

Postby francesco_RT » Wed Mar 10, 2010 11:19 am

I've found another little error: in load_template.php the <title> is "Secect a template". :wink:
francesco_RT
 
Posts: 5
Joined: Fri Mar 05, 2010 8:04 am


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron