|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Installation Of The Zeronese Php Photo Gallery ScriptInstallation of the gallery is fairly simple and if you follow the following steps, you should be up and running in less than 10 minutes. Step 2: Create a MySQL database on your server and note the server, database name, database username, and the database password. Step 3: Execute the gallery.sql file included in your zip file against your database. Step 4: Open the "configuration.php" file included in the photo-gallery folder using any text or php editor. Lines 2 to 6 contains variables that you will change. Only change the values between the quotes (in red below) and ignore everything else. Step 5: If you want to run the gallery from your root folder; that is, if you want to access the gallery through http://www.yourdomainname.com, upload the contents of the photo-gallery folder to the root folder of your hosting account. If you want to add the gallery as an extension to your website, you then can upload the folder photo-gallery as is to your hosting account. The link to your gallery in that case will be http://www.yourdomainname.com/photo-gallery/ . You can also create your own folder and upload the contents of the photo-gallery folder into that folder. In that case the link to your gallery will be http://www.yourdomainname.com/your-folder/. Step 6: chmod the photos directory to 777 and the thumps under photos directory to 777 For security reasons, you might want to change the name of the folder 'manager' to a name that only you know. You can name it any thing that is hard to guess but easy to remember. Renaming the manager folder will not effect the functionality of the manager's pages. You are now ready to start uploading images by clicking the Albums link from the managers header, click Create New Album, create the album and then click the upload images to that album.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1 | Comment by: Diane Challenor | 2009-11-17 18:15:32 |
| I recently purchased your Photo Gallery it looks promising, unfortunately my installation has not been successful. After I load it up to my host and go to the Manager Login URL I receiving an error, as follows: Internal Server Error.The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log. I've loaded the tables, album, comments, photos and settings into my Artuccino database. I configured as per the directions in your installation guide. Also, I'm using Dreamweaver CS3 so I would like to connect to my Database using the Dreamweaver method. I'll keep trying. I was hoping there would be a discussion forum where I could read about the experience of others but if there is one I can't find it. Meanwhile I'll repeat the steps in your installation guide to ensure I haven't missed an important step. Would it have something to do with the .htaccess file. After it is loaded up to the host it disappears. |
||
| #2 | Comment by: Hassan Sayed | 2009-11-17 19:40:24 |
| i am almost sure it is something with the .htaccess file. the error you are providing is not a script configuration error, most likely it is a server setting or something related to that. becuase .htaccess relates to that it might be cuasing the error. Note: the .htaccess on some hosts such as godaddy.com does not work until after like 30 minutes from the first upload. let me know if you are still having the problem. |
||
| #3 | Comment by: Hassan Sayed | 2009-11-17 19:53:27 |
| if you are now seeing a blank page, it is most likley you have wrong database information, to detect that in the configuration.php file replace: mysql_select_db($dbname); With mysql_select_db($dbname) or die(mysql_error()); let me know if this helps. |
||
| #4 | Comment by: Diane Challenor | 2009-11-19 10:45:45 |
| Hi Hassan, I contacted my web host and this was her comment: There is a convention that files which start with a dot "."are special (i.e .htaccess) and shouldn't be shown while browsing normally. The "500 Internal Server Error" message is caused by the line: "Options +FollowSymLinks" which is both unnecessary and not allowed on this server for security reasons. So I removed the .htaccess file from the directory and I was able to Login and upload images, view the picture and comment. It seemed to work well. Except when I clicked on "All Images" the browser could not find http://www.artuccino.com/photo-gallery/album/all/ The folder had not been created. The address of the photo-gallery is http://www.artuccino.com/photo-gallery/ There is one picture in it with one comment. I'll play with it some more tomorrow. Best wishes, Diane |
||
| #5 | Comment by: Hassan Sayed | 2009-11-19 11:21:26 |
| i don't see how they think it is "unnecessary". Anyways, since they removed the .htaccess this means you cannot use the safe search engine urls. Go to the manager side of the script, login, and Look for “Use Safe Search Engine URLs” and set it to No Then go to the design folder, look for the template you are using, edit the header.html (using note pad or any html editor) Replace !!WEBSITE_URL!!album/all/ With !!WEBSITE_URL!!?page=album&album_id=all Everything should work fine now. Let me know if you still have problems. |
||
| #6 | Comment by: Diane Challenor | 2009-11-19 18:53:56 |
| All seems to be working OK. Your Photo Gallery looks like it will fulfill all sorts of possibilities at www.artuccino.com. Thanks. | ||
Comments is currently disabled for this article!
Understanding the PHP Photo Gallery Settings |
Making Photo Galleries Private |
Editing Photo Galleries |
Which php libraries are installed by default on my Dedicated Server? |
The PHP Photo Gallery Template System |
Categories
- » Dedicated Linux Hosting
- » Dedicated Windows Hosting
- » Domain Names
- » Linux Hosting
- » Scripting Languages
- » Site Builders
- » Virtual Dedicated Linux
- » Virtual Dedicated Windows Hosting
- » Web Design and Development
- » Web Design Software
- » Web Hosting
- » Website Templates
- » Windows Hosting
- » Zeronese Terms and Policies

