PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Can not upload photos (http://www.photopost.com/forum/photopost-pro-bug-reports/146503-can-not-upload-photos.html)

fishingfool September 15th, 2011 07:54 AM

Can not upload photos
 
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 and then the Gallery tab on the main header....or here is a page that has some of the photos not showing that were uploaded recently.

Thank you for any insight you can provide.

fishingfool 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.

Chuck S September 15th, 2011 08:48 AM

No problem let us know if you need anything else.

fishingfool 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?

http://www.brevardareareefsociety.com/forums/forum.php

Chuck S September 15th, 2011 10:45 AM

Maybe correct your photopost url to the data directory under admin edit integration settings.

http://www.brevardareareefsociety.co...s/P8300064.JPG

Your mod is looking for a thumb there

however it is actually located here

http://www.brevardareareefsociety.co...s/P8300064.JPG

fishingfool September 15th, 2011 11:26 AM

Your the man.......thanks.

fishingfool 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

fishingfool 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

Chuck S 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.

fishingfool 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

$PP_PATH =
$pppath =
$url_path =
$data_dir =

etc.....

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?

Chuck S September 15th, 2011 06:41 PM

Quote:

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.

fishingfool 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.

Chuck S 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.

fishingfool 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?

Chuck S 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.

http://www.brevardareareefsociety.com/forums/photopost/

That one the photopost database is wrong

http://www.brevardareareefsociety.com/photopost/

that one the members database or vb database asked on the config is wrong. Thats called the user database in our config file.

fishingfool 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 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
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 and it isnt working.

Thank you

Chuck S 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.

http://www.photopost.com/forum/photo...tin-4-0-a.html

The easiest would probally be to reapply the hack and overwrite any plugins currently installed.

fishingfool September 29th, 2011 12:42 PM

Thank you Chuck...up and running...your the man!

Chuck S September 29th, 2011 12:46 PM

enjoy your day glad to help

fishingfool October 1st, 2011 08:33 PM

Hey Chuck,

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.

they are:
//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?

Thank you.


All times are GMT -5. The time now is 12:37 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97