Jump to content

[SOLVED] Script works on 2 servers, does not on the 3rd


The Midnighter

Recommended Posts

I have a script. It's showing an "Upload" progress - This script works fine on 2 servers, but does not work on the 3rd.

PHP is not an issue, really.. It uses php and Javascript, I believe the problem is Javascript but I'm just not sure.

 

Does anyone know why this could be happening? Or do I need to provide more information.

Since you did not provide any relevant information, I'll take a guess that your php code is doing something that is server or php configuration specific.

 

What have you done to troubleshoot and narrow down what is and is not working in both sides of your code? We don't have access to your three servers, so it would be a little hard for anyone to help without any specific and relevant information from you.

Since you did not provide any relevant information, I'll take a guess that your php code is doing something that is server or php configuration specific.

 

What have you done to troubleshoot and narrow down what is and is not working in both sides of your code? We don't have access to your three servers, so it would be a little hard for anyone to help without any specific and relevant information from you.

 

The file is uploading fine on all 3 servers, unfortunately 2 servers are behind firewalls and aren't accessable by the outside world.

However, I have a working version uploaded here, http://allenprint.ca/upload

 

You can see the progress bar working just fine there using a file of 5mb, on the other server the progress bar does not update.

I assure you the code is the same, and the php settings would have no impact on this.

I've eliminated the possibility of PHP being a factor, I just copied php.ini from server to server.

Javascript wouldn't make sense to be disfunctional, as I'm using the same browser with the same settings for each server.

 

So, I keep coming back to..

What the hell else could be wrong?

  • 3 months later...

Since you did not provide any relevant information, I'll take a guess that your php code is doing something that is server or php configuration specific.

 

What have you done to troubleshoot and narrow down what is and is not working in both sides of your code? We don't have access to your three servers, so it would be a little hard for anyone to help without any specific and relevant information from you.

 

this is old, but I thought I'd let you know you're right. Regardless of copying php.ini, it did not copy the modules that went along with it. This was the problem, it turns out the 3rd server had a different set of modules installed.

 

Thank you all for your help =)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.