 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
December 3rd, 2005, 03:34 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
| 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?
|
| |
December 3rd, 2005, 05:30 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
December 3rd, 2005, 09:49 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
|
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
|
| |
December 3rd, 2005, 11:23 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
December 3rd, 2005, 09:42 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
|
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
|
| |
December 3rd, 2005, 09:49 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2003
Posts: 24
|
CHMOD to 777 the uploads directory and sub-directoris, as per the install instructions.
|
| |
December 3rd, 2005, 09:55 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
|
I am actually double checking that as we speak.... Man I suck at this..
|
| |
December 3rd, 2005, 10:06 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
|
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..
|
| |
December 4th, 2005, 12:54 AM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
| 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..
|
| |
December 4th, 2005, 02:35 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2003
Posts: 24
| 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?
Cheers
|
| |
December 4th, 2005, 03:00 AM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 24
| 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
|
| |
December 4th, 2005, 04:33 AM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 24
| 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?
|
| |
December 4th, 2005, 04:37 AM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2003
Posts: 24
|
What bit is confusing you?
|
| |
December 4th, 2005, 04:44 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
December 8th, 2005, 12:54 PM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
|
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?
|
| |
December 8th, 2005, 01:08 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
December 8th, 2005, 01:14 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
December 8th, 2005, 01:15 PM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
|
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?
|
| |
December 8th, 2005, 01:18 PM
|
#19 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 15
|
Sorry, just realized you posted the answer to my question above I think
|
| |
December 8th, 2005, 01:32 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:20 AM. | |