[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Modal dialog box from URL
Page 1 of 1

Modal dialog box from URL

PostPosted: Tue Apr 03, 2007 4:41 pm
by syrrius
Hi,

I try to use the example "Modal dialog box from URL/FILE"
On WEB site, it works perfectly
But when I try to use the one in the Suite pack I download, I have this message :

"""Message from DHTMLSuite.dynamicContent
The ajax request for includes/demo-modal-message-1.inc failed"""


(I check, includes/demo-modal-message-1.inc file exists ; same problem when I use one of my file)

:?: Is it normal ? How can I deal with this problem ?

Thanks in advance.

PostPosted: Tue Apr 03, 2007 5:17 pm
by kgregg

PostPosted: Tue Apr 03, 2007 7:02 pm
by syrrius
Hi,

:cry:

I :
* put my file "test.asp" on a http server (visible in a browser, so URL ok) OK
* modif. POST to GET OK
* file ext. OK (asp)

It still doesn't work ...
too bad for me ... :cry:

PostPosted: Wed Apr 04, 2007 8:27 am
by Calcifer
Some webservers only accepts ajax requests to files with a specific extension.

Example: Some Microsoft web servers are configured to only accept ajax requets to file with the extension ".asp" or ".aspx".

read this topic : http://www.dhtmlgoodies.com/forum/viewtopic.php?t=568

PostPosted: Wed Apr 04, 2007 8:53 am
by syrrius
:oops:
The problem seems to come from my web server ...

When I use "http://www.dhtmlgoodies.com/packages/dhtml-suite-for-applications/demos/includes/demo-modal-message-2.inc" , it works perfectly

But when I use the same file, on my web server, ... nothing ... :cry:

I'll check the options on my Web server ...

Thanks everyone for help ...

PostPosted: Wed Apr 04, 2007 11:22 am
by Calcifer
you can change your file extension

PostPosted: Wed Apr 04, 2007 2:44 pm
by syrrius