Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/208363-php-script-cant-be-called-on-server/
Share on other sites

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.

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.