» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 54
0 members and 54 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Webmail Reply/Forward error in compose.php within the Nuke 6.5 to 6.9 - Modules forums, part of the PHP-Nuke 6.5 to 6.9 category; I'm getting the following error on the screen when clicking on reply or forward. Warning: REG_EMPTY in /home/virtual/...


Go Back   Nukemods Forum » PHP-Nuke 6.5 to 6.9 » Nuke 6.5 to 6.9 - Modules

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-14-2003, 11:48 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
Webmail Reply/Forward error in compose.php
I'm getting the following error on the screen when clicking on reply or forward.

Quote:
Warning: REG_EMPTY in /home/virtual/site155/fst/var/www/html/modules/WebMail/compose.php on line 54
However I am still able to send the message.

And should they reply/forward with the history or not? I just see a ">".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-16-2003, 02:50 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
There was a problem with that line in 6.0 but I thought it was fixed for 6.5. Can you post the code for the line please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-16-2003, 05:42 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
For Nuke 6.8 the code is
Code:
if(isset($op)) {
    if($op == "reply") $subject = "Re: ".$subject;
    else if($op == "forward") $subject = "Fwd: ".$subject;
    if (eregi($body,"
",$out)) {
	$bodytext = explode("
",$body);
        foreach($bodytext as $bt) {
	    $content .= "> ".$bt;
        }
line 54 would be the
Code:
$bodytext = explode("
",$body);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-16-2003, 10:13 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
I don't know if this will work or not but you can try it.

Change this:
Code:
 $bodytext = explode("
",$body);
To this:
Code:
 $bodytext = explode("\r",$body);
and change this
Code:
$content .= "> ".$bt;
To this:
Code:
$content .= "> ".$bt."\r";
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-16-2003, 10:30 PM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
:oops:
ops:
ouch, sorry, I just got home and opened the file up again. My counting was off earlier.

Line 54 is
Code:
if (eregi($body,"
",$out)) {
Making the change didn't fix anything, anyway.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-16-2003, 10:39 PM
Moderator
 
Join Date: Nov 2002
Posts: 737
Try changing it to this:
Code:
if (eregi($body,"
",$out['PHP_SELF'])) {
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-17-2003, 01:56 AM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
No chane

Thanks for trying. I wish I knew the language to be able to help myself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-17-2003, 02:16 AM
Moderator
 
Join Date: Nov 2002
Posts: 737
I'm not sure the problem is actually with the compose.php even though the error shows up there.

Do the changes create a different error? What happens if you use the first change I gave you but insert \r\n instead of just \r ?

Can you turn debugging on and post the error. I'm going to check a couple other things. I'm suprised that no one else has had this problem. Have you installed any addons or made any other modifications to webmail?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-17-2003, 03:26 AM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
All the changes above had no effect on the error, it stayed the same.
Even with debugging on, There was no additional error message on the page. Just the usual SQL querry all over the site (specifically by the Site Visitor block, a few modules, and the admin CP's)

I have not installed any addon's except the Site-Visitors block w/ Avatar and a couple minor fixes regarding avatars, webmail, dl/web images, and thats about it.

The modifications to webmail I made were....

Quote:
Howdy Nukers,

I had the same problem as you were having, so I spent some time fingering around with some DB settings. It turns out that the DB may not be fully storing your password. The default value for storing a password is 20 characters. That isn't enough character storage if you have a big password, and not only that, your password gets encrypted, which adds more characters to it. A simple solution it to go into your database with an application such as phpMyAdmin and follow these steps:

- Note: This was performed in v6.5 with phpMyAdmin

1. Scroll down your table list and look for nuke_popsettings, and click browse.

2. Click on structure.

3. Scroll down the field list to passwd and click on change.

4. Edit the Length/Values number and give it a higher number, such as 60. I used 100 since I use real long passwords.

5. Save your changes.

6. Go back into WebMail and go to your account settings and re-enter your password so it gets fully recorded.

I hope that helps you out.
and
Quote:
MurphDog wrote:
k, I did add the @ and that part works great. Thanks!

Whening viewing the contact profile, I'm still getting the warnings for the sql_layer.php file. I noticed this time that it actually doesn't show the profile, the fields are blank. I don't remember if that was the case last night.


in line 246 of the file /modules/webmail/contactbook.php there are a little bug. To fix that,
search for



function view() {
global $userid, $cid, $domain, $imgpath, $bgcolor1, $bgcolor2, $bgcolor3, $prefix, $dbi, $module_name;
OpenTable();
$query = "Select * from ".$prefix."_contactbook where uid='$userid' and contactid='$cid'";
$res = sql_query($query);
if(sql_num_rows($res, $dbi) == 0) {


and replace for:

function view() {
global $userid, $cid, $domain, $imgpath, $bgcolor1, $bgcolor2, $bgcolor3, $prefix, $dbi, $module_name;
OpenTable();
$query = "Select * from ".$prefix."_contactbook where uid='$userid' and contactid='$cid'";
$res = sql_query($query, $dbi);
if(sql_num_rows($res, $dbi) == 0) {

This will remove sql errors as well as allow you to view information on your contacts.
Both from NukeCops

Testing \r\n now.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-17-2003, 03:41 AM
Junior Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 130
Send a message via ICQ to MurphDog Send a message via AIM to MurphDog Send a message via MSN to MurphDog Send a message via Yahoo to MurphDog
No change, no additional error message.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Post Reply" Fatal Error AdR3NaLiN Nuke 7.x - General 1 03-13-2005 11:00 PM
Forum error when posting a reply. ryan241 Purged Topics 1 07-08-2003 09:03 PM
Webmail error in 6.5 - Help me please! lol BabyJade Nuke 6.5 to 6.9 - Modules 1 07-03-2003 03:19 PM
mycalendar mod installed -- post/reply error Hadron Nuke 6.5 to 6.9 - Modules 1 06-30-2003 11:36 PM
Poll text in my compose webmail window Suzie Purged Topics 12 12-19-2002 12:46 PM


All times are GMT -5. The time now is 08:35 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31