backinstereo Posted July 21, 2010 Share Posted July 21, 2010 I have been designing a website for my client for a while now, and planned to use this code for the gallery on their website: http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm I first tested the script on my OWN server and it worked perfectly. I then copy and pasted (fixing the links where they needed to be fixed to correspond with HIS server) and the code will not work, to an extent. WORKING ON HIS SERVER: When I link to my own folder with pictures, on my own server, it loads fine, but when linking to a folder on his server it doesn't work and says the script can't be called. (Note the error on the bottom left on his page: http://slygoose.myphotos.cc/) My folder/pictures loading means that PHP has to be installed correctly on his server, but yet, his folders won't let me load the pictures from them, even with everything where it needs to be. I hope this made sense, as this is my first time posting here. Quote Link to comment https://forums.phpfreaks.com/topic/208363-php-script-cant-be-called-on-server/ Share on other sites More sharing options...
radar Posted July 22, 2010 Share Posted July 22, 2010 my debugger is telling me you have an error in getalbumnpics.php and also you are attributing 'myvacation' either inside the script or somewhere else, and that is undefined. Quote Link to comment https://forums.phpfreaks.com/topic/208363-php-script-cant-be-called-on-server/#findComment-1089653 Share on other sites More sharing options...
backinstereo Posted July 23, 2010 Author Share Posted July 23, 2010 the problem is, everything is where it should be. when i use the same code and link to an outside gallery, it works perfect, but when i link to a gallery on his server, it doesnt work. he did have to install php himself, but all tests come back positive when asking if the php is even installed correctly. Quote Link to comment https://forums.phpfreaks.com/topic/208363-php-script-cant-be-called-on-server/#findComment-1089895 Share on other sites More sharing options...
Pikachu2000 Posted July 23, 2010 Share Posted July 23, 2010 I didn't see any error message at the URL you provided above. If you are getting an error, paste it in your next post here. Quote Link to comment https://forums.phpfreaks.com/topic/208363-php-script-cant-be-called-on-server/#findComment-1089970 Share on other sites More sharing options...
radar Posted July 23, 2010 Share Posted July 23, 2010 There is a syntax error @ line 2 of http://slygoose.myphotos.cc/images/getalbumpics.php?id=myvacation The variable, myvacation is undefined. Called at line 245 in http://slygoose.myphotos.cc/ ^^ those are the errors i get from my debugger. Quote Link to comment https://forums.phpfreaks.com/topic/208363-php-script-cant-be-called-on-server/#findComment-1090160 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.