PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Multiple problems with installation.... (http://www.photopost.com/forum/photopost-pro-installation-upgrades/121289-multiple-problems-installation.html)

ghettomedic December 3rd, 2005 03:34 AM

Multiple problems with installation....
 
I am going to start off by saying I am very dismayed at the integration of this.

I have installed it on my server to try and integrate it with vbulletin 3.51 and at best it isnt useable and at worst I would ask for a refund if I could figure out how to uninstall this.

1st. I cant log into the admin panel to set the permissions.

2nd. It doesnt follow the correct image paths for the styles. It shows the image paths as a sub directory of photopost.

3rd. Functions like search are not working. It shows the path to my forums as "forums" which isnt correct.

There are other minor errors. In all fairness I am going to reset all of my templates to remove the hacks and see if it works but somehow I am not to hopeful at the moment


Any ideas?

Chuck S December 3rd, 2005 05:30 AM

My site is right here and it integrates fine.

http://www.reeftalk.com/gallery

I would have to say most of what I see above is simply incorrect answers give on install except issue 2. Your cookie prefix you did not enter on install and it would appear you did not enter the correct directory name on install.

Issue 2 is something more complex as your most likely using some custom stylesheet. We only autorewrite normal from standard vbulletin url strings. I can give you a slight mod to our file to rewrite that custom style to through it into the autorewrite.

ghettomedic December 3rd, 2005 09:49 AM

Hello,

Sorry for my 1st post. I am not a happy guy at 430am and 1 plus 1 has a habit of making 3 it seems..

Ok, I changed the cookie prefix to bb, for Vbulletin

I went back and checked the paths and fixed what I think were some errors.

Right now I keep getting these errors..

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /photopost/forums/vb3.php on line 25

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /photopost/forums/vb3.php on line 53

Both lines above are the same..

$results = mysql_fetch_array($queryv);

I actually have no clue on this one. Do I need to edit the vb3.php and if so do I also add the user ID for Admin?

Thanks for answering my grumpy first post

Chuck S December 3rd, 2005 11:23 AM

Okay on install you forgot to enter the vbulletin table prefix ;) You can use phpmyadmin to view the photopost settings table entry 41 and place the proper table prefix or rerun install

Don't forget to give me the custom stylesheet directory name and I can show you how to mod the header-inc.php file to autorewrite those relative paths.

ghettomedic December 3rd, 2005 09:42 PM

Ok, I am getting closer I think. I can now log into the admin section. It still dumps me out of being logged into the board everytime I switch themes, etc..

I now get this error trying to upload a photo.

Warning: move_uploaded_file(/home/dfdems/public_html/MB/photopost/uploads/1/snap0066.jpg): ermission denied in /photopost/image-inc.failed to open stream: Pphp on line 37

Warning: move_uploaded_file(): Unable to move '/tmp/phpsUANjW' to '/home/dfdems/public_html/MB/photopost/uploads/1/snap0066.jpg' in /photopost/image-inc.php on line 37

Zenith December 3rd, 2005 09:49 PM

CHMOD to 777 the uploads directory and sub-directoris, as per the install instructions.

ghettomedic December 3rd, 2005 09:55 PM

I am actually double checking that as we speak.... Man I suck at this..

ghettomedic December 3rd, 2005 10:06 PM

Ok, everything appears to be working....

For the image paths I just uploaded the missing images to include the header, etc to where photopost was looking for them at.

I still dont know what happened to make it work. I do know a lot of the errors I got towards the end were as Zenith pointed out, my failure to CHMOD the specific directories..


A question on Data/1 /2 /500...

For each new gallery, etc does it create a 501, 502, etc? I ask because I now have a 501. I am assuming I have to CHMOD them as they are created if that is the case?

Thanks for putting up with me so far..

ghettomedic December 4th, 2005 12:54 AM

Quote:

Don't forget to give me the custom style sheet directory name and I can show you how to mod the header-inc.php file to autorewrite those relative paths.
The path would be MB/rogue/

I have edited some of the line links actually in the header manually within the style so it is usable but I am still having a hard time getting the images to show up correctly in the reply and post text box. It keeps appending the directory at the end..

Zenith December 4th, 2005 02:35 AM

Quote:

Originally Posted by ghettomedic
A question on Data/1 /2 /500...

For each new gallery, etc does it create a 501, 502, etc? I ask because I now have a 501. I am assuming I have to CHMOD them as they are created if that is the case?

No. To explain... when you install YOU creat the data directory and subdirectories 1 and 2. YOU own them. The webserver is running as a different user... i.e. the webserver is not you. Therefore the webserver does not own the data directory and it's subdirectorie. By CHMODing them to 777 you're granting permission for any user on the server, including the webserver, to write to those directories. Once this permission is granted then the webserver can create subdirectories. Because it creates those directories itself then it can write to them. You'll find that you CAN'T write to them because you don't own them.

Does that make sense? :D

Cheers

Marz December 4th, 2005 03:00 AM

installation is very Vague
 
I guess I was a sucker. Reading installation. You people contradict your manual many times. Is this a form of getting people to have you install? I suggest that your installation manul be upgraded. For now I think I just might submit this to www.Ripoffreport.com

Kind Regards

Marz December 4th, 2005 04:33 AM

Confussed
 
Just for giggles. Which one is right?



pp-classifieds
images (chmod 755)
uploads (chmod 777)
help (chmod 755)
forums (chmod 755)
languages (chmod 755)
stylesheets (chmod 755)
templates (chmod 777)
data (chmod 777)
1 (chmod 777)
2 (chmod 777)


All permissions for .php and .sql files should be set to chmod 644, except for config-inc.php and config-int.php which need to be 777 for the install script to update it. In your stylesheets and templates directory you will need to change the files .css and .tmpl to also have write permissions so any modifications done through the admin can be updated.

Maybe that could be confusing. Seems to me it is. Oh and what is it when you click install I get $message error?

Zenith December 4th, 2005 04:37 AM

What bit is confusing you?

Chuck S December 4th, 2005 04:44 AM

What is confusing about the installation instructions? I am always up for making them easier but I think they are pretty straight forward.

ghetto

You can go into vbulletin admin for the style in question and set the paths to images to FULL URL and this will make them show.

Your being dumped from admin cause you did not specify the vbulletin cookie prefix of bb ;)

No you do not need to chmod new directories.

ghettomedic December 8th, 2005 12:54 PM

Question on image paths. I have most of them working but the reply editor still doesnt work..

MB/photopost/showphoto.php/photo/14/limit/rogue/editor/removeformat.gif

It should be

MB/photopost/rogue/editor/removeformat.gif

Any suggestions on how to change it?

Chuck S December 8th, 2005 01:08 PM

I beleive as stated above making the relative path a full url to images will work in your styles admin of vbulletin.

We only autorewrite normal vbulletin urls not custom stylesheets. Making them full paths should do it cause you can not use spider urls with relative image paths.

Chuck S December 8th, 2005 01:14 PM

another example would be to change our autorewrite code to look for your custom style. I am going to assume it is a directory called rogue under your images directory of vbulletin. In this case edit header-inc.php and replace the code noted here with this

Code:

Content visible to verified customers only.

ghettomedic December 8th, 2005 01:15 PM

It is a full path, I just didnt put it here for brevity.

Where would I make the change at for the image path were it not a full path?

ghettomedic December 8th, 2005 01:18 PM

Sorry, just realized you posted the answer to my question above I think

Chuck S December 8th, 2005 01:32 PM

You make a full url to the images in the vbulletin styles admin for that style you will see they are all relative links.

Now the header-inc.php thing I posted would work to rewrite those urls


All times are GMT -5. The time now is 06:47 PM.

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