PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 4 (http://www.photopost.com/forum/installs-upgrade-vbulletin-4/)
-   -   Cannot upload/delete without being redirected to the wrong URL (http://www.photopost.com/forum/installs-upgrade-vbulletin-4/146708-cannot-upload-delete-without-being-redirected-wrong-url.html)

rsenpai October 20th, 2011 10:20 AM

Cannot upload/delete without being redirected to the wrong URL
 
I've run then installation and the vBgallery is all set up. I just have a couple problems, probably due to my own errors. I hope you guys can help.

When uploading and deleting images, i get directed to the wrong path. Here's an example.

I uploaded an image in the wrong folder and decided to delete it. I click on the image, go to "image tools" select "delete this image" and click "perform action". The next page loads fine, so i click "Delete this image [name]" then click the "Delete this Image" button.. (now this is where i have the problem.)
the forum is installed on domain.com/forums and the gallery on domain.com/gallery... and when i click the "Delete this Image" button instead of taking me to domain.com/gallery/browseimages.php?c=2 it takes me to domain.com/forums/browseimages.php?c=2.. so obviously the page doesn't load cause its directing me to the forum and not back to the gallery... so far i've only noticed this happening when i upload images and delete images.

Also the main categories do not load. Sub categories load just fine, the categories where images would be shown. The "folder" type categories that are used to group other subcategories.. that doesn't work.
I get this error: Fatal error: Call to undefined function parse_wysiwyg_html_to_bbcode() in /home/domain/public_html/gallery/index.php on line 657

And so far none of the images actually display. I am allowed to select from the 3 thumbnail images but when viewing in the gallery they do not display and im very certain they're in the correct files folder.

Chuck S October 20th, 2011 10:25 AM

You are using the current downloaded 3.01 code?

rsenpai October 20th, 2011 10:29 AM

i believe so. the folder i downloaded and installed was: product_vbgallery_3.01

rsenpai October 20th, 2011 10:31 AM

the only red flag i can remember during installation was the installation part "vbagallery_install.php" when i ran that.. i believe /forums/admincp/vbagallery_install.php.. i didn't actually have vbAgallery_install.php, i had vbgallery_install.php.. so i renamed and installed.

** actually i didn't rename it.. i just removed the "a" and ran the installer

Chuck S October 20th, 2011 05:07 PM

Around line 657 try changing the code noted between the if clause noted below to what I have posted

Code:

Content visible to verified customers only.

rsenpai October 21st, 2011 10:24 AM

Great, that fixed the sub category problem. Any idea about the other issues? I still cannot figure out why i get directed to /forums/ when i upload or delete images. All the other links seems to work fine while navigating thru the gallery

Chuck S October 21st, 2011 10:39 AM

http://www.photopost.com/forum/1285755-post2.html

How about this

rsenpai October 21st, 2011 05:48 PM

thank you, sir :)

last one. I've read over the FAQs on the installation page about images not displaying but I would feel better doing those edits if you told me that's exactly what I needed to do. (I don't want to screw things up)
On my gallery I thought I had set up the path correctly but thumbnails and images will not display. When I right click the broken image and select "Copy Image Location" > paste it into my browser and load the page.. it works fine, the image displays without any issues so I guess the path is correct, but why would it show a broken image on the gallery?

thanks again, chuck. sry for the hassle

Chuck S October 21st, 2011 06:05 PM

HMM maybe under vbgallery settings turn off htaccess protection?

rsenpai October 21st, 2011 06:17 PM

nailed it! thanks again :)

Chuck S October 21st, 2011 08:08 PM

enjoy your weekend let us know if you need anything else.


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