close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

WA Function not Supported in Hong Kong Servers?

Thread began 12/02/2012 1:46 am by salaroche | Last modified 12/06/2012 12:59 pm by salaroche | 1503 views | 4 replies |

salaroche

WA Function not Supported in Hong Kong Servers?

Hi:

For the second time, I’m trying to host one of my Websites in a Hong Kong Server, but we’re again finding difficulties in making it work well. The problem has to do with the following error:
----------------------------------------------------
Not Found
The requested URL /home/nanhai01/public_html/-stuattend_Results .php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
________________________________________
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at nanhai01.salaroche.com Port 80
-----------------------------------------------------------
Please note that the pages that generate that error are all using an Insert, Update, or Delete WA behavior.

A technician at OnemoreWebhosting in HK seems to have located the problem. It seems that a WA line of code is redirecting the Browser to a wrong URL. The line of code the technician says is causing the problem looks like this one:
---------------------------------------------------------------------
if (function_exists("rel2abs")) $WA_redirectURL =
$WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
-------------------------------------------------------------------------
I looked for that line of code and found it in most of my pages, but the ones producing the error message seem to be only those pages using an Insert, Update, or Delete WA behavior.

The HK technician says that in commenting (disabling) that line of code the problem is solved, but my concern is that, even if the HK technician disables every instance of such code, the problem will be reproduced every time I modify and upload a page to their server. Should I disable that function in all my pages to keep that problem from happening every time I modify and upload a similar page to the HK server? And what are the consequences of disabling such function?

Any suggestions?

Your attention to this matter will be highly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

here is an updated copy of the webassist/framework/library.php page that should correct the problem.

Attached Files
library.php.zip
Sign in to reply to this post

salaroche

This post has been deleted.

salaroche

HI Jason:

Thank you for your reply. I replaced the library.php page located in WA_DataAssist/library.php with the one you sent me. There is no webassist/framework folder in my webassist directory.

Now I'm not getting the same error, but the browser is either being redirected to some strange Chinese websites like this one: lhzs_2_6.html?comefrm=1902 --- or this one: ?id=508, or it's showing the following error message:
-----------------------
No data received
Unable to load the webpage because the server sent no data.
Here are some suggestions:
• Reload this webpage later.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
----------------------------
BTW, the Update page actually updates records, but fails to redirect the browser to the Details page.

Any suggestions?

Your attention to this matter will be highly appreciated.

Sign in to reply to this post

salaroche

This post has been deleted.

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

salaroche

Jason:

Problem solved. Many thanks.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...