View Full Version : Can not upload photos
September 15th, 2011, 07:54 AM
Good Morning Chuck,
We recently moved to a new server, performed the photopost install and everything seemed to work fine.
There were duplicate folders and files all over the place however, due to the company now hosting us moving all the files over and duplicating them in different places. I had them remove the duplicates and I dont know if that is when the gallery stopped allowing uploads correctly or not but we can not see the uploaded images.
You can upload just fine but it just shows a name of the file and no picture or a colored square.
I can give you whatever access you need if you wouldnt mind taking a look. Our site is Brevard Area Reef Society (http://www.brevardareareefsociety.com) and then the Gallery tab on the main header....or here (http://www.brevardareareefsociety.com/forums/photopost//showgallery.php?cat=525) is a page that has some of the photos not showing that were uploaded recently.
Thank you for any insight you can provide.
September 15th, 2011, 08:16 AM
You can close this Chuck......I figured it out. Sorry to bother you. There was some path and directory changes I made in the options that fixed it.
September 15th, 2011, 08:48 AM
No problem let us know if you need anything else.
September 15th, 2011, 09:40 AM
I actually do....how do I get the thumbnail to show up for the images on the main forum page. If you go there now, you will see that they are missing. If you click them, they are in the gallery but the small image is missing. How can I fix that?
September 15th, 2011, 10:45 AM
Maybe correct your photopost url to the data directory under admin edit integration settings.
Your mod is looking for a thumb there
however it is actually located here
September 15th, 2011, 11:26 AM
Your the man.......thanks.
September 15th, 2011, 11:34 AM
okay...I am going to stop touching stuff. I broke it...WTF!
I have been trying to get all the files to be off the main root and not in the forums directory.....but I just went to admin -> administration -> edit config and changed the Path to PhotoPost Installation (must be set properly for script to work) to not include forums....but after hitting save it was still in the path but yet when I go to the forum....the gallery doesnt work now. I tried to enter the value that was there previously and hit save and it still isnt working.
Help please.....I wont touch anything again...I can just live with the photopost directory being in my root and in the forums folder
September 15th, 2011, 11:38 AM
Each time I try to update the paths and click save...they dont change...something is keeping them the same...with "forums" in the path
September 15th, 2011, 12:36 PM
You can place whatever correct variables in your config files to result in a successful install it would appear you have edited your config file and placed improper database information where asked in the config file.
September 15th, 2011, 03:39 PM
I didnt change the database information in the config file.
My collegue swears he made the install of Photopost in the public_html (root) directory so we have a public_html/photopost folder and a public_html/photopostimages folder there in the root directory.
Somehow there are also public_html/forums/photopost folder and a public_html/forums/photopostimages folders.
The config files in both photopost folders had values intermixed with some being public_html/forums/ and some just public_html/ for the
I thought I would be able to just take out /forums/ everywhere it was and that it would only use the files in the root directory....but that broke it and now it gets a database error....I guess b/c the paths are screwed up to where the gallery is or whatever...not sure.....but I didnt change the db values in the files.
Can you advise on what the above values are supposed to be?....are they supposed to be mixed since my forum is /forums?
September 15th, 2011, 06:41 PM
I cannot connect to the PhotoPost database. [$php_errormsg]
I can only respond based on what I see. This error means you have the wrong database info for Photopost in the config-inc.php file.
September 15th, 2011, 07:59 PM
I didn't change those values...I checked them though and they are all correct.
I can give you access if you would like to see them. Maybe a real bug of some sort...dont know.
This sucks too because we have a photo contest and last day to submit entries was tonight...I wish I wouldnt have messed with anything.... Learned my lesson.
Any help would be greatly appreciated....thanks.
September 15th, 2011, 09:49 PM
It is not a bug. This is an absolute error. There would be no other suggestion I can give here. Your installer has not inputted the correct database information.
You need to make sure the database hostname database name user and password are all correct.
To double check yourself you can actually run through the install again into the same database and table prefix and see if that sorts your issue.
I am not permitted to actually go in and install our application unless you purchase an install.
September 16th, 2011, 07:29 AM
I will look it over again, but I assure you the database information in the config file is correct. This is not a fresh install...it was working for months since the install.
If you look at the details I explained above, I only made mofications to the config files for the path and url values and then got an immediate error that we are seeing now about the database....never touched the database values in those files and have looked at them and they are correct. 100% certain on this.
I will look at the install files and maybe preform an uninstall and re-install...dont know what else to do.
We did pay for installation service originally but moved servers and did this install on our own.....so are you still not able to connect in and have a look?
September 16th, 2011, 10:21 AM
I know what your saying however that error is what is called an ABSOLUTE error. That means there is no other answer. The error displayed comes right from the mysql connects when trying to connect with the info provided.
Look you have multiple installs as well a violation of the licensing. You are only suppose to have one install for one license. Now commenting on what I see each has a different error telling me the database info is wrong.
That one the photopost database is wrong
that one the members database or vb database asked on the config is wrong. Thats called the user database in our config file.
September 29th, 2011, 09:49 AM
I have it now so that if I am in my forum and press the gallaery button, it loads the URL http://www.brevardareareefsociety.com/forums/photopost/ which gives the error "I cannot connect to the PhotoPost database. [$php_errormsg]"
If I type in the URL A community photo gallery - Brevard Area Reef Society (http://www.brevardareareefsociety.com/photopost/) then this is the gallary and it works. Where is it configured to tell the path to be A community photo gallery - Brevard Area Reef Society (http://www.brevardareareefsociety.com/photopost/)
when I push the Gallary button on the nav bar?
I thought this would be the "$url_path" in the Config-int file but I have it set to A community photo gallery - Brevard Area Reef Society (http://www.brevardareareefsociety.com/photopost/) and it isnt working.
September 29th, 2011, 10:36 AM
You need to reapply any modification to your forum you have installed. You can try editing the global variables for the photopost pro plugin in your vb plugins with the correct urls etc.
Here is the hack your referring to which you have an issue with.
The easiest would probally be to reapply the hack and overwrite any plugins currently installed.
September 29th, 2011, 12:42 PM
Thank you Chuck...up and running...your the man!
September 29th, 2011, 12:46 PM
enjoy your day glad to help
October 1st, 2011, 08:33 PM
One of the members noticed a error. If you click on the forum button on the navbar, it takes you to the forums and there are 4 pictures across the top. If you click any of those pictures, it gives the database error we saw before. (I cannot connect to the PhotoPost database. [$php_errormsg])
I looked at the settings in the admin control panel for the plugin Photopost Variables and there were a few I werent sure if they are correct since the install is not in the forums directory.
//Photopost Directory Name
$vbulletin->options['prodir'] = '/home/brevarda/public_html/forums/';
//Url to PhotoPost Install
$vbulletin->options['ppurl'] = 'http://www.brevardareareefsociety.com/photopost';
//Server Path to PhotoPost Install
$vbulletin->options['pppath'] = '/home/brevarda/public_html/forums/photopost';
Could one of these be causing the issue or what is it if you know?
October 1st, 2011, 11:09 PM
Yes look at your variables for the plugin they are wrong ;)
You need to redo your plugin.
the first one for example is wrong as that should just be a directory name of your gallery not a server path to your forum. so just photopost there
the second looks right
The third once again you have your forums in the server path take forums out ;)
October 2nd, 2011, 07:23 PM
That is what I tried actually before I posted the previous post but when I did that, the 4 pictures disappeared when I refreshed the page.....So I guess there are pictures that uploaded to the folders that are in the wrong location (public_html/forums/photopost) and are not in the public_html/photopost/ directory.
guessing uploads folder.
October 2nd, 2011, 08:04 PM
I took everything in the public_html/forums/photopost/uploads folder and uploaded it to the public_html/photopost/uploads folder, not overwriting anything that was already there, but hoping to get anything uploaded there that was missing......but the images on the forum page are still missing.
Still looking around and scratching my head.?.?
October 2nd, 2011, 09:11 PM
uploads folder is user uploads before they are processed.
Images that show in Photopost are in the data folder of the gallery. ;)
Like I said if everything is fine in your gallery and all things are fine you need to redo your plugin on the forum side. I know I linked you to the plugin you have installed on your site before. That plugin is outside the actual product supported code.
October 3rd, 2011, 04:12 AM
Hi, I am having trouble with my photo Gallery.
Photos will not upload and no errors are being displayed.
Can you have a look. A community photo gallery - PNG Photos - Thousands of Papua New Guinea Images, Photographs and Pictures (http://www.pngbd.com/photos)
October 3rd, 2011, 07:02 AM
If you are trying to obtain product support read this.
PhotoPost Community - Announcements in Forum : Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/announcements.html)
You can then create your own support thread about your issue with enough relevant information to help us help you.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.