This topic is locked
[SOLVED]

 Hugely frustrating ONLINE version problem

1/22/2011 1:23:47 PM
PHPRunner General questions
V
Vienna author

I have wrestled for hours and hours over this. I am trying to make the weekend deadline for uploading a project onto a 1und1.de server. This server handles anything Wordpress throws at it including various widgets, so it should not be having a problem with any php calls in PHPRunner, I would guess. The server runs one of the later versions of PHP 5 and seems to match closely the PHP 5 on my localhost machine.
I have a Form which has two fields, one dependent on the other. Select from a list of doctors and the next field automatically fills in with that Doctor's medical specialty. The actual value is a number, the displayed value comes from a lookup table to give the text translation of the number value.
On my machine this all works brilliantly.
Load it up to the website and everything, everything works exactly as expected, lookup wizard values, etc.
But this ONE field, which depends on the dropdown list selected above it, which keeps working in the same browser, latest update of Firefox, on the localhost testing server stops working online. I use the same complete build that works on the localhost, just re-generating with my online website connection script.
I have tried this in Firefox and Safari on Windows 7 and an Imac. I look in the code and after the doctor name is selected the option for the next field in the form is just empty of any value.
Works like a charm just before I upload online.
It is sitting in a folder on a Wordpress site and does not use the same connection because these are two different databases. When all the other javascript works just fine online for every search and popup preview, it seems weird that this one dependency functions stops working.
I NEED this to work.

V
Vienna author 1/22/2011

I have reloaded this onto another website on the same 1und1.de server. Just this one dropdown dependency stops working once the pages are online. Localhost Windows 7 machine it works perfectly.

I know this has to be a javascript issue. Even though all other javascript works perfectly. What is the script in PHPRunner that this dropdown dependency uses?
UPDATE:
YES, it was JAVASCRIPT conflict with Wordpress-- even though my uploads (I tried uploading at 2 different Wordpress installations) were not "inside" Wordpress.

I uploaded to folders outside of the wordpress installation but still the PHPRunner javascript could not complete its task to complete the ajax lookup for a dropdown dependency.
I had finally to upload to a non-Wordpress installation at a domain I had just hanging around.
It saw Sergey's tutorial about running PHPRunner files inside an iframe in Wordpress but I did not need to resemble the rest of the site WP styling for the form logins.
NOW, after all those frustrating hours of sweat I am greatly disappointed that PHPRunner has very essential actions that are stopped cold by, I presume, the standard jquery libraries that are running in Wordpress.
I wonder if you could put that on the list to inspect how PHPRunner co-exists with WordPress.
If there is a way to modify PHPRunner to make sure all Ajax calls execute inside a Wordpress environment. Although I would have thought that I was "outside" that environment in my two trial uploads.
Neither of my WordPress installations have anything beyond the core plugins and I don't use the popular shading scripts either.
Anyway, I am up and running but not on the domain that I was planning on using.