PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   vBGallery Installation & Upgrades (http://www.photopost.com/forum/vbgallery-installation-upgrades/)
-   -   Another vBGallery thread path problem (vB4 PL3) (http://www.photopost.com/forum/vbgallery-installation-upgrades/149235-another-vbgallery-thread-path-problem-vb4-pl3.html)

flamx5 February 15th, 2013 05:48 PM

Another vBGallery thread path problem (vB4 PL3)
 
Well, I've been at it 3 days, eyes red and frustrated to no end. I'm not a forum guru but enough to be dangerous I suppose.

The instructions call for typing in the file path for my forum and the example seems to be for Word Press or PhotoPost Pro instead of vBGallery because the examples are always /home/public.html/etc which is unlike anything I have.

When I check out PHPinfo from my vB4 admin panel, I get this:

ORIG_PATH_TRANSLATED:
/kunden/homepages/21/d123456789/htdocs/vB/admincp/index.php

I then surmise that the path to my forum is:
/kunden/homepages/21/d123456789/htdocs/vB/forum.php
since my forum.php in in the root of my vb install, not in a separate "forum" folder.


*I changed my database name to d123456789 for this post.

So, of course that doesn't work so I'm at my wits end. What the heck is my forum path and do I have to uninstall vBGallery and then reinstall it again if I change the gallery_config.php file each time?

I've installed, uninstalled, reinstalled, changed paths, everything and still nothing. No Gallery button on the navbar even.

I'm just frustrated because I know enough to install and maintain vB but apparently not enough to install this. I got PhotoPost Visal Classifieds at the same time but the prospect of another week of screwing around until 4a.m. and then getting up an hour later for work is enough to make me depressed.

Chuck S February 15th, 2013 05:57 PM

Your assumption on the path is just a little off. You know you could have posted on day one and saved yourself several days of red eyes and frustration. I could have helped you then ;)

There are many posts in the vbgallery support forums over the years on forumpath.

Your path would of course be whatever your path is your issue is your trying to include a script name. Server Path means just that a server path. It is not a forum script names added to it. You where close just not spot on.

In your vb config.php file the $forumpath line should look like this

Code:

Content visible to verified customers only.

flamx5 February 15th, 2013 06:36 PM

Hello Chuck and thank you for the prompt response. I didn't mean to imply that there was no support here, just that I've always thought I was right on the verge of the correct answer and then it wasn't so I'd keep plugging away. I also try to search before posting anything but honestly, when I come home from work to then work on this, I just feel overwhelmed having to read thousands of posts, hence my post tonight.

I have read a lot but other people's paths look nowhere similar to mine which makes me wonder if I'm over thinking this and if I'm supposed to use that weird "translated" path reported by phpinfo or something common sense like /htttp://mysite.com/vb/forum.php

Back to the problem. I just feel if I can get this forum path right and then the four other paths in admincp>vbgallery>modifysettings, I can get this working. I could have sworn I used your example to no avail which makes me ask the question:

If I change gallery_config.php and then ftp it to my site anew, do I have to reinstall vBGallery again?

*I had to type htttp in my example above because this forum says I can't post a link until I've made 15 posts.

Chuck S February 15th, 2013 07:12 PM

Right I was merely saying that you could have asked your question on the first day without searching or pulling hair out etc and I could have given you a answer to save you from your frustration. ;)

You can edit the config file without reinstalling sure

flamx5 February 15th, 2013 07:17 PM

I edited the file and seems like I got halfway there. In vB, when I go to settings>gallery, I now see an upload page instead of a 404 so that path must now be correct.

However, when I try to upload a photo, give it a title etc and then submit it, I get a 404.

So, I think now it's down to those paths in admincp I must have wrong.

Chuck S February 15th, 2013 07:22 PM

Yes you must in your vbgallery settings in admin make sure to have the correct urls and server paths asked there. I can not give a more accurate answer without direct errors.

flamx5 February 15th, 2013 07:23 PM

The title for your gallery: Our Gallery

The full URL to your gallery: htttp://mysite.com/vb/gallery?

Files path: The full path (NOT the URL!) to the folder in which your images will be stored. Ex: /home/yoursite/public_html/gallery/files
Do I use a path like my forum path here such as /kunden/homepages/21/d123456789/htdocs/vB/gallery/files?


The URL to the folder in which your images will be stored: htttp://mysite.com/vb/gallery/files


FTP/FLASH User Folder Path: The path (NOT the URL!) to your user's upload folder (used for FTP/FLASH uploads). Ex: /home/yoursite/public_html/gallery/users


FTP/FLASH User Folder URL:


The URL to your user's upload folder:
(used for FTP/FLASH uploads).

Chuck S February 15th, 2013 07:48 PM

Where it asks for server paths yes you use the server path like so

/kunden/homepages/21/d123456789/htdocs/vB/gallery/files

/kunden/homepages/21/d123456789/htdocs/vB/gallery/users

Next based on what your posting above are you really entering urls like that? What is htttp?? I think you are mistyping things as it should be

http://www.yoursite.com/vB/gallery

Like I said can not say without accurate information

flamx5 February 15th, 2013 08:00 PM

Thank you Chuck. I'm typing "htttp" with 3 Ts because this forum won't allow me to type in a URL until I've reached 15 posts so I'm adding a an extra T. I am typing it correctly where it counts however.

I know you're not logged into my ftp and vB and so can't tell me precisely what to type hence I was asking generally if I used my server path settings (/kunden/homepages/21/d123456789/htdocs/vB/gallery/files) or something like ../vb/gallery/files. Thank you for clearing that up though.

So, last question for the moment:

The full URL to your gallery: htttp://mysite.com/vb/gallery?

My structure is as above. mysite.com/vb and then I see the gallery folder where I installed it so the final structure is mysite.com/vb/gallery. So then is the full path to my gallery just that or do I have to add a "gallery.php" or something to the end like mysite.com/vb/gallery/gallery.php (just for example)


I'm only asking because I assume the full URL to my gallery is htttp://mysite.com/vb/gallery (yes I know there are 3 Ts in my fake example) but when I go to upload a photo, upload.php gives me a 404.

I don't know if I got the URL correct now but have to reinstall vBGallery or what...

Chuck S February 15th, 2013 08:23 PM

If you are trying what you are of course your getting a 404 because the url would be

http://www.mysite.com/vB/gallery

Right??

Your forum directory is vB not vb

Also does your gallery exist in the forum directory?

Like I said I can not give anymore detailed an answer without the true information.

flamx5 February 15th, 2013 09:28 PM

You make a good point: always check the smallest things like capitalization!

When I originally installed vbulletin a long time ago, I did create the directory as vB instead of vb. However, I did have it correct in forum path (vB) so that wasn't it.

I had to walk away a little bit and relax. Came back and reread the instructions again here:

Step 3 - Upload Files
Upload the new PhotoPost vBGallery files and your modified vBulletin files (if applicable) to the directories listed below.

root/forum/admincp - vbagallery_install.php, vba_gallery_admin.php

root/forum/includes - adminfunctions_template.php, adminfunctions_gallery.php, functions_gallery.php, functions_gallery_imageedit.php

root/forum/includes/cron - gallery_ecard.php, gallery_search.php, gallery_subscriptions.php

root/forums/includes/xml - cpnav_vbagallery.xml

root/forum/modcp - index.php, vba_gallery.php

root/gallery/ - Upload this folder and all of it's contents into your root directory.

Note: Be sure to upload the /gallery/images and /forum/cpstyles folders and their contents in Binary mode and the other files in ASCII mode.

Now you will need to chmod the /gallery/files folder to 777


I failed to correctly read about uploading the "gallery" folder into the root directory. Instead, I had uploaded it into my forum root directory. Hence, my paths were mysite/vB/gallery and that didn't work.

I moved the gallery folder into my actual root directory, not my forum's root directory and then checked permissions for the folder to make sure they were 777 and everything inside is at 644.

I went back into my profile in vBulletin and was able to upload a photo with no 404 problems! I see a thumbnail above the forum home navbar but I'm still missing the "Gallery" button.

After this much effort and frustration, I consider tonight a big step forward though and thank you for clearing the paths nightmare up. I should have asked for help the first day but I figured if I can't figure out simple paths, I'm a pretty sorry site admin.

Chuck S February 15th, 2013 10:05 PM

You can just type a domain name minus any dot com and I can try seeing what your site looks like hard to say anything without seeing your site thats all I am saying here.

if you see no navigation link maybe try going to product manager in vb and hit browse and over overwrite checkbox and upload your product_ppvbgallery.xml file again see if that helps.

flamx5 February 15th, 2013 10:36 PM

Oh sure! Not a secret. I was just trying to stay generic for technical purposes.

gearheadsmiataclub.net

(still can't post links here due to my post count)

Chuck S February 15th, 2013 11:04 PM

yeah just do as instructed in my last post and you should be fine.

flamx5 February 16th, 2013 12:01 AM

I see the navbar link showed up and in vb's Navigation Manager, I set it to be last which is what I wanted.

However, now my portal is screwed up. Is there an issue with vBa CMPS?

I'm burned out now and heading to bed but very happy to get vbgallery running and posted a few test images. Thank you!

Chuck S February 16th, 2013 04:50 AM

Your forum and gallery both look fine so I see no issue.

Your issue is with your portal look at the page souirce all your links to styling and such are all relative links.

You can maybe try setting in the vb options turn the base url setting on in the main url options so your portal knows where all relative links know to look for links in the forum directory this issue has nothing to do with the gallery.


All times are GMT -5. The time now is 10:22 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