 | |  | |
October 20th, 2011, 10:20 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2011
Posts: 6
| 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.
|
| |
October 20th, 2011, 10:25 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,671
|
You are using the current downloaded 3.01 code?
|
| |
October 20th, 2011, 10:29 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2011
Posts: 6
|
i believe so. the folder i downloaded and installed was: product_vbgallery_3.01
|
| |
October 20th, 2011, 10:31 AM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2011
Posts: 6
|
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
|
| |
October 20th, 2011, 05:07 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,671
|
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.
|
| |
October 21st, 2011, 10:24 AM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2011
Posts: 6
|
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
|
| |
October 21st, 2011, 10:39 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,671
| |
| |
October 21st, 2011, 05:48 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2011
Posts: 6
|
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
|
| |
October 21st, 2011, 06:05 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,671
|
HMM maybe under vbgallery settings turn off htaccess protection?
|
| |
October 21st, 2011, 06:17 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2011
Posts: 6
|
nailed it! thanks again |
| |
October 21st, 2011, 08:08 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,671
|
enjoy your weekend let us know if you need anything else.
|
| | |
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 12:12 PM. | |