purefan
Newbie
Offline
Posts: 5
|
 |
« on: April 14, 2007, 11:21:23 PM » |
|
Hello guys!
Its weird, in my local pc this ajax call works perfectly, but when I uploaded it it didnt work anymore... Im parsing everything through GET parameter and heard from a techie from lunarpages it could be due to folder indexes files, but I really dont understand how should I set it, so far I have one empty index.html file in both folders and it works fine on my local pc like this...
Any help guys, please... its the only thing that keeps me from going live...
|
|
|
|
|
Logged
|
|
|
|
mythelo
Newbie
Offline
Posts: 5
|
 |
« Reply #1 on: April 23, 2008, 11:22:28 PM » |
|
Did you ever get this resolved. We are encountering the same problem. Stuff locally works fine but on the hosted instance, our ajax calls return nothing. Your help will be much appreciated.
|
|
|
|
|
Logged
|
|
|
|
purefan
Newbie
Offline
Posts: 5
|
 |
« Reply #2 on: April 24, 2008, 04:17:21 PM » |
|
nop, after 2 weeks of changin permissions and things like this I moved to another hosting company, couldnt afford to lose more money... Was quite surprising though, to see that lunarpages couldnt resolve it...
|
|
|
|
|
Logged
|
|
|
|
|
scanman20
|
 |
« Reply #3 on: April 24, 2008, 04:28:10 PM » |
|
It would be helpful to see how you're using your scripts. I've been on LP for five years and not once had any AJAX problems. Most likely it's a configuration and/or script issue.
|
|
|
|
|
Logged
|
Even a broken clock is right twice a day. NotOneBit.comMCSE - MCSA - MCP
|
|
|
purefan
Newbie
Offline
Posts: 5
|
 |
« Reply #4 on: April 24, 2008, 09:12:05 PM » |
|
Hello scanman20,
While I understand what you mean I am very confident it was not a script problem, or a programming issue. The very same script on the other hosting company worked perfectly with just uploading it, didnt have to change permissions or anything like this. The script is a modified version of phpFox.com's and it is running still on ajedrezenserio.com the module that was not handled properly by LP is the Entrenamiento one (training), logged in as admin it allows to add chess problems, this part is done in ajax, logged in as a regular user it allows you to train your skills, this part does not use ajax, simple JS. Other admin-only part that involve Ajax is the creation of news. This didnt work in LP but out of the box did in the other hosting co.
Modify: other server is also a linux and seems like down for maintenance. Owner is a friend of mine so its also cheaper hehehe
|
|
|
|
« Last Edit: April 24, 2008, 09:14:29 PM by purefan »
|
Logged
|
|
|
|
mythelo
Newbie
Offline
Posts: 5
|
 |
« Reply #5 on: April 28, 2008, 06:39:43 PM » |
|
We believe that this is a configuration issue too. Our code works perfectly on our local instance. The Ajax requests goes through but the call does not return anything. We are using AjaxAnywhere and it is supposed to return zones which it needs to replace. The way AjaxAnywhere works is that you need the following filters set in web.xml in your applicaton. <filter> <filter-name>AjaxAnywhere</filter-name> <filter-class>org.ajaxanywhere.AAFilter</filter-class> </filter> <filter-mapping> <filter-name>AjaxAnywhere</filter-name> <url-pattern>*.jsp</url-pattern> </filter-mapping> <filter-mapping> <filter-name>AjaxAnywhere</filter-name> <url-pattern>*.do</url-pattern> </filter-mapping>
We believe that these are not being read by the shared resin server. I am not sure though. Any other insights you will be useful. Which other webhosting service did you move too? We are thinking about this too since we have already wasted more than 5 days on this one issue. Regards, Pari
|
|
|
|
|
Logged
|
|
|
|
purefan
Newbie
Offline
Posts: 5
|
 |
« Reply #6 on: April 28, 2008, 06:43:18 PM » |
|
I didnt think the moderators would like me mentioning this but since there is no Private Message think this is the only way... I moved to a friend's server but tested the script in ubiquity hosting and it worked just fine too
|
|
|
|
|
Logged
|
|
|
|
mythelo
Newbie
Offline
Posts: 5
|
 |
« Reply #7 on: April 28, 2008, 11:55:30 PM » |
|
Thanks for your reply. I don't think the moderators should mind this. If customers are stuck, I don't think they have a choice to still hang around for a solution. I hope Lunarpages can resolve my issue but if not I can't wait on this issue forever.
|
|
|
|
|
Logged
|
|
|
|
|