Hastymail2

Hastymail2 is an Open Source IMAP webmail client written in PHP. Our focus is compliance, usability, security, and speed.

Hastymail 2

avatar
"Page not found" but text visible in print view

Sailfrog,

Haven't posted this in the Tracker as I'm sure I have done something to cause this but I can't figure out what!

Using latest SVN 1139 (and some previous versions) - when I open a message from one of my storage folders I get the header details but in the message view I just get "Page not found" on a blue background.

I thought it might be my IMAP server - a local installation of hmailserver so have upgraded that with no change.

The strange part is if I click forward/reply/print view or raw view the message is integrated into the relevant function and displayed.

Did a clean install of Hm2 today and re-made config file - no change.

--------------

Just done some more testing - only seems to occur to messages that are in folders with subfolders and only then with some messages - possibly only HTML msgs.

Can anyone repeat this:

1) Doesn't happen in inbox or normal folders

2) Does happen in folders that have subfolders and also in those subfolders.

3) I think only HTML msgs

Cheers,

Oli

 

Reply /Quote
avatar
Re: "Page not found" but text visible in print view

I have not run into this but I will try to reproduce the problem. The default behavior is to use an iframe for HTML messages, my guess is the src attribute url of this iframe is where the problem is.

Thanks for the feedback,
Jason

Reply /Quote
avatar
Page not Found

Have started issue in tracker and attached a screenprint.

Will try and narrow down the type of file this happens to!

Will test forwarding as attachement and see if the problem remains!

Reply /Quote
avatar
Re: Page not Found

If you could, right click on the "page not found" pane and find the page info for it. In firefox you need to select "this frame", then frame info. I am interested in the src attribute value of the iframe. You could also get it by looking at the HTML source of the page. It may have a clue as to what is going wrong.

Thanks for the follow up,
Jason

Reply /Quote
avatar
Page not Found
Have pasted a section of the page source in the tracker
Reply /Quote
avatar
Found Problem - Page not found

Problem occurs when a folder name has a space in it and an i-frame is used!

Renaming a folder solved the problem.

A fix would stillbe useful though - have updated tracker.

Reply /Quote
avatar
Found Problem - Page not found

Interestingly I don't have this problem with HTML message parts in folders with spaces in the name. I would really like to see what is in the src atrribute of the iframe tag in the HTML source of a page that you see "page not found" with. Could you post the HTML source of that page to the bug report in the tracker?

Thanks for the follow up on this. If the problem is what I think I will hopefully have a fix in this week if not today.
Jason

Reply /Quote
avatar
Page not Found

Done,

 

Please delete when finished using.

 

Oli

Reply /Quote
avatar
Re: Page not Found

Found what I need and deleted the source files from the bug report, thanks for uploading those. The problem is actually NOT what I thought. For some reason the folder name is getting chopped off at the first space, which is definitely not what I was expecting. I did however make some changes to svn today that may have an effect on this problem. Could you update to SVN revision 1140 or newer and let me know if the problem persists? Also, what webserver software are you using?

Thanks,
Jason

Reply /Quote
avatar
Page not Found

Hmailserver - http://www.hmailserver.com/

Windows XP Pro SP3

XAMPP

 

Reply /Quote
avatar
Re: Page not Found

Did you try updating to the latest SVN?

Jason

Reply /Quote
avatar
Page not found

Just tried 1142 - unfortunately still happening!

Do you need more source code or do you want to try something else.

 

Reply /Quote
avatar
Re: Page not found

Time to try something else. We use a variable in the code called "sticky_url", it is the currently loaded url with all the arguments. We determine this from the PHP $_SERVER array. I need to see what your setup is supplying for this array. If you could add the following code to hastymail2/lib/misc_functions.php after line 1069 (current SVN version):

 echo_r($_SERVER);

Then load the message that gives you a page not found message. You will see a bunch of debug information about your server setup above the display. If you could send that to me in an email (don't post it to the forums since it has sensitive info) I can debug this further. You can send it to jason@hastymail.org

Thanks,
Jason

Reply /Quote
avatar
Re: Page not found

For the list, this issue is now resolved in SVN (rev 1149 or greater)

Jason

Reply /Quote
Get Hastymail at SourceForge.net. Fast, secure and Free Open Source software downloads