PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 4th, 2004, 08:23 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
final integration issues

Per the helpful FAQ thread regarding integrating pp with vb3 -

My headers show up, but the images are all showing as Red X's

This is because vB uses relative paths for your images. You will need to update your vB3 header to use absolute paths.

Using your Style Manager edit your header template, find:

a href="/$vboptions[forumhome].php

and for each of the URL's used you will need to update your path. In this case my forums are installed in the root directory, so I added the / to the path. If my forums were in /forums, then I would change the links to read something similiar to:

a href="/forums/$vboptions[forumhome].php

You will need to update all your links to use the absolute paths as PhotoPost is not installed in the same directory as vB and so PhotoPost needs to know where to follow the links to.

Also, check your headinclude template:

var IMGDIR_MISC = "$stylevar[imgdir_misc]";

And either put a / in the path or change your vb configuration to point to /images.

here's my forum link: www.ultimate-bmw.com/u-forum/

here's my photopost link which I am trying to get up and running:

www.ultimate-bmw.com/photo_serv/

I have changed the header and header include filenames described above to the following, and my image still comes up broken, and my forum usermenu still shows the links as relative to the photo forum, instead of going to the vb3.

1)

<!-- commented out <td align="$stylevar[left]">
<a href="http://www.ultimate-bmw.com/u-forum/index.php?$session[sessionurl]">
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp; -->
2)

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl]";
var IMGDIR_MISC = "../u-forum/images/misc";
// -->
</script>

I would greatly appreciate help to wrap up the look and feel of the site, which is almost "hopefully" done.
ultimatebdmin is offline   Reply With Quote
Old September 4th, 2004, 08:33 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
In the FAQ thread I beleive the templates to edit are listed

header footer header include and navbar

You have not edited your VB navbar template
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 4th, 2004, 11:02 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
Thanks!

I for those who have this same issue, you just need to put your web url for your directory of vbulletin install, basically everywhere you see an ahref in the:

header, header include, and navbar, and nav link templates.

All the links work now, and images are there, EXCEPT

how do I get the drop down menus for the Search (the arrow graphis is missing with no "broken image") and Quick Links to work?

Also, I am having a syntax error on line 1, another one on line 1, an object expected on line 512, and an object expected on line 515, and an object expected on line 1170.

I have a feeling some of these relate to the drop down menus.

PS - thanks for the quick response on my last posting!
ultimatebdmin is offline   Reply With Quote
Old September 4th, 2004, 11:08 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
In addition,

This error occured when I tried to upload my first picture:

Warning: move_uploaded_file(/home/virtual/site1/fst/var/www/html/photo_serv/uploads/1/dado.jpg): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

Warning: move_uploaded_file(): Unable to move '/tmp/phpaayFEh' to '/home/virtual/site1/fst/var/www/html/photo_serv/uploads/1/dado.jpg' in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

Is this a chmod issue?
ultimatebdmin is offline   Reply With Quote
Old September 5th, 2004, 12:10 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2002
Posts: 16
Quote:
Originally Posted by ultimatebdmin
how do I get the drop down menus for the Search (the arrow graphis is missing with no "broken image") and Quick Links to work?

You will have to edit one of the JavaScript files for vBulletin, the file that writes those quick link menus.

1. Open file '/~~forumdir~~/clientscript/vbulletin_menu.js'.

2. Search for 'function vbmenu_doregister'.

3. In that function, look for 'document.write('<img src="' + IMGDIR_MISC',
change to 'document.write('<img src="/testforum/' + IMGDIR_MISC'.

Last edited by Dylan Leblanc; September 5th, 2004 at 12:37 AM.
Dylan Leblanc is offline   Reply With Quote
Old September 5th, 2004, 09:57 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
YES per the installation instructions all uploads and data directories in Photopost need to be set to 777
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 7th, 2004, 11:19 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
pop-up menus solution

the vbulletin pop-up menus appear correctly, as well as the Javascript errors go away, if you point the header-inc file javascript lines to absolute web addresses.

That part now words flaw-lessly.

Regarding the error message on posting a pic, I set all the directories to the allowances via chmod that I was instructed to in the install instructions from this website:

"photopost
images (chmod 755)
uploads (chmod 777)
help (chmod 755)
data (chmod 777)
1 (chmod 777)
2 (chmod 777)
500 (chmod 777)
languages (chmod 755) (all subdirectories, too)
english (chmod 755)

Be sure to FTP all .php and .sql files into the photopost directory. All permissions for .php and .sql files should be set to chmod 644."
ultimatebdmin is offline   Reply With Quote
Old September 7th, 2004, 11:29 PM   #8 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Check the permissions on the directories within the uploads directory. The error you posted specifies ../uploads/1/
Bryan Ex is offline   Reply With Quote
Old September 7th, 2004, 11:29 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
I just verified and all the permissions appear to be correct.
ultimatebdmin is offline   Reply With Quote
Old September 7th, 2004, 11:37 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
I think my path may have been wrong in the config file so I changed it to what should be correct, and I still have this error with the correct CHMOd setting 777

Warning: move_uploaded_file(/home/virtual/ultimate-bmw.com/var/www/html/photo_serv/uploads/1/dado.jpg): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

Warning: move_uploaded_file(): Unable to move '/tmp/phpIvVjsD' to '/home/virtual/ultimate-bmw.com/var/www/html/photo_serv/uploads/1/dado.jpg' in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

If it helps, I am attempting to upload it as the admin.
ultimatebdmin is offline   Reply With Quote
Old September 7th, 2004, 11:40 PM   #11 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Have you tried deleting the #1 directory? It will recreate on your next upload. Once a month I clear them all out to get rid of any partial uploads stuck in the system.
Bryan Ex is offline   Reply With Quote
Old September 7th, 2004, 11:45 PM   #12 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Your paths in that last error aren't matching up. I'd start there for sure. Maybe use your FTP access to double check the exact path to image-inc.php and then make sure it's set correctly (with adjustments as needed) in your config. There are several places that all need the path entered with really only the last directory being changed for each.
Bryan Ex is offline   Reply With Quote
Old September 8th, 2004, 08:22 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Your path is wrong

Make sure you use the same path

/home/virtual/site1/fst/var/www/html/photo_serv in config file

and

/home/virtual/site1/fst/var/www/html/photo_serv/uploads

/home/virtual/site1/fst/var/www/html/photo_serv/data

for the proper paths in admin options
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 9th, 2004, 08:17 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
I changed the path (first line in the config page) to what you suggested

/home/virtual/site1/fst/var/www/html/photo_serv

and now I get this error:

Warning: main(/home/virtual/site1/fst/var/www/html/photo_serv /languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/virtual/site1/fst/var/www/html/photo_serv/pp-inc.php on line 63

Fatal error: main(): Failed opening required '/home/virtual/site1/fst/var/www/html/photo_serv /languages/english/pp-inc.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site1/fst/var/www/html/photo_serv/pp-inc.php on line 63

when it was working fine with this path:

/home/virtual/ultimate-bmw.com/var/www/html/photo_serv

now I can't get to the config screen!
ultimatebdmin is offline   Reply With Quote
Old September 10th, 2004, 06:18 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You have a space on the end of your path when you did the copy and paste
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 11th, 2004, 02:52 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
How do I access the config info, now that I can't get that screen to pop up anymore? What file should I open with ssh, or via ftp to change that setting?

used ftp - got it, you were right there was a space at the end. Now I'm going to make sure the upload and data directories are correct and try and upload again.

Last edited by ultimatebdmin; September 11th, 2004 at 03:22 PM.
ultimatebdmin is offline   Reply With Quote
Old September 11th, 2004, 03:28 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
Ok,

I set the setting to what omegatron suggested, tried uploading an image, and got this:

Warning: move_uploaded_file(/home/virtual/site1/fst/var/www/html/photo_serv/uploads/1/dado.jpg): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

Warning: move_uploaded_file(): Unable to move '/tmp/phppGaRMd' to '/home/virtual/site1/fst/var/www/html/photo_serv/uploads/1/dado.jpg' in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

Now I'm going to try and delete the "1" directory as suggested by another user above.
ultimatebdmin is offline   Reply With Quote
Old September 11th, 2004, 03:31 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
deleted the "1" directory, and got this when trying to upload.

Warning: move_uploaded_file(/home/virtual/site1/fst/var/www/html/photo_serv/uploads/1/dado.jpg): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

Warning: move_uploaded_file(): Unable to move '/tmp/phpoHa5mf' to '/home/virtual/site1/fst/var/www/html/photo_serv/uploads/1/dado.jpg' in /home/virtual/site1/fst/var/www/html/photo_serv/image-inc.php on line 34

Now I'm going to try and look at the image-inc.php file.
ultimatebdmin is offline   Reply With Quote
Old September 11th, 2004, 03:44 PM   #19 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 27
I'm trying to upload as the admin fyi, perhaps this is causing a more complex problem?
ultimatebdmin is offline   Reply With Quote
Old September 13th, 2004, 09:51 AM   #20 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
Make sure the uploads directory has proper permissions set so that it can create subdirectories; sounds like you don't have the directory permissions set properly.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
One Final Error longjohn Photopost Pro Installation & Upgrades 1 November 18th, 2005 07:30 AM
Integration issues with Threads v6.5.1.1 smokn28 Classifieds Installation & Upgrades 12 May 15th, 2005 04:48 PM
Photopost/VB3/vBportal Integration issues recumbent615 Photopost Pro Installation & Upgrades 6 April 18th, 2005 11:26 AM
Some UBBT Integration Questions/Issues Muhammad Photopost Pro Installation & Upgrades 2 July 30th, 2004 12:47 PM


All times are GMT -5. The time now is 01:46 PM.

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