vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog (https://vborg.vbsupport.ru/showthread.php?t=202385)

cad2go 07-04-2009 12:10 PM

No idea what happened there? I added the two lines from the new one to the old one and uploaded that and I seems to work now.

Added lines:
PHP Code:

    <p><b>Albums possible</b>: " . $albums_possible . "</p>
        <
p><b>Albums override</b>: " . $albums_override . "</p

Quote:

Debug information

Version: 3.3

Photo Popup Settings (from AdminCP)
num_of_cols: 4
num_of_rows: 4
num_total:16
widht: 600
heigth: 680
products: albums
insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery link_med_2_orig link_med_2_gallery thumb med orig thumb_2_gallery_link_below med_2_gallery_link_below orig_2_gallery_link_below
allow_albums: 1
code_usergroups: 0


Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'/forum/picture.php?albumid=2&amp;pictureid=80\'><img src=\'/forum/picture.php?albumid=2&amp;pictureid=80&amp;thumb=1 \' style=\'border: 0\' /></a> ','http://www.rletc.com/forum/picture.p...80&amp;thumb=1 ')"><img src="http://www.rletc.com/forum/picture.php?albumid=2&amp;pictureid=80&amp;thumb=1 " style="border: 0" title=""/></a>

Database Query
SELECT pictureid, vbalbumpicture.albumid FROM vbalbumpicture INNER JOIN vbalbum ON vbalbumpicture.albumid = vbalbum.albumid WHERE userid = 5 ORDER BY pictureid DESC LIMIT 0, 16

Link to Original
http://www.rletc.com/forum/picture.p...2&pictureid=80

Link to Thumb
http://www.rletc.com/forum/picture.p...eid=80&thumb=1

Used product: albums

Albums possible: 1

Albums override:

Cookie
Read Cookie: albums,,link_thumb_2_orig
Set Cookie: albums,,link_thumb_2_orig

Table building (rows and columns)
[td 1][td 2][td 3][td 4][tr][td 1][td 2][td 3][td 4][tr][td 1][td 2][td 3][td 4][tr][td 1][td 2][td 3][td 4]


cellarius 07-04-2009 12:52 PM

Somehow the file you downloaded got corrupted, probably during down- or upload. I changed the attachment to a zipped version, perhaps that's better. Please redownload.

The debugging is somewhat ;) more than just the two lines of code you pasted in - this just triggers the output of the results, and even at that part you missed some crucial stuff. You have to use the complete new file, I'm afraid.

cad2go 07-04-2009 01:09 PM

Redownloaded the zip :
Still getting the same error - content type in ff, and Internet Explorer cannot display the webpage :o

cellarius 07-04-2009 01:58 PM

This has to be a problem on your end, that is: locally. I have this exact file running on my server and test-server. Flush your browser cache and try again.

If you uploaded the file to
http://www.rletc.com/forum/photo_pop...=vB_Editor_001
that works just fine for me in any browser.

You can try:
- create a new file in your favourite text editor
- copy the contents (all of it) of my file over
- save it as photo_popup.php
- upload.

cad2go 07-04-2009 05:14 PM

Quote:

Originally Posted by cellarius (Post 1842683)
This has to be a problem on your end, that is: locally. I have this exact file running on my server and test-server. Flush your browser cache and try again.

If you uploaded the file to
http://www.rletc.com/forum/photo_pop...=vB_Editor_001
that works just fine for me in any browser.

You can try:
- create a new file in your favourite text editor
- copy the contents (all of it) of my file over
- save it as photo_popup.php
- upload.

That was the old one - I reupped it in the meantime. The new version is up now.

Tried all that.

It's only when the e parameter is there that the encoding error happens, without it the page loads with your error.

e.g http://www.rletc.com/forum/photo_pop...=vB_Editor_001 (encoding)
http://www.rletc.com/forum/photo_popup.php (Photo Popup Error #2: editor undefined)

Dstephan 07-05-2009 12:41 AM

Any chance that this will be made to work with vbpicgallery?

cellarius 07-05-2009 08:22 AM

Quote:

Originally Posted by cad2go (Post 1842782)
That was the old one - I reupped it in the meantime. The new version is up now.

Tried all that.

It's only when the e parameter is there that the encoding error happens, without it the page loads with your error.

e.g http://www.rletc.com/forum/photo_pop...=vB_Editor_001 (encoding)
http://www.rletc.com/forum/photo_popup.php (Photo Popup Error #2: editor undefined)

I really have no explanation for this encoding error. Besides from that, there are two php errors on that page before the gibberish, and those errors tell me that the query for the albums indeed return a empty result set. So the problem is not with the parsing of the data afterwards, but with querying the database. This leaves me at a loss, really - since the query does work perfectly for me :confused:

To investigate this further, I'd have to have full access to your forum (with an Admin-account so I can see the debug info), including FTP and probably database/phpMyAdmin.

cellarius 07-05-2009 08:25 AM

Quote:

Originally Posted by Dstephan (Post 1842976)
Any chance that this will be made to work with vbpicgallery?

That would probably be possible, but I have never used it and do not own a license.

cad2go 07-06-2009 04:10 PM

Quote:

Originally Posted by cellarius (Post 1843087)
I really have no explanation for this encoding error. Besides from that, there are two php errors on that page before the gibberish, and those errors tell me that the query for the albums indeed return a empty result set. So the problem is not with the parsing of the data afterwards, but with querying the database. This leaves me at a loss, really - since the query does work perfectly for me :confused:

To investigate this further, I'd have to have full access to your forum (with an Admin-account so I can see the debug info), including FTP and probably database/phpMyAdmin.

yhpm - thanks for the help

cellarius 07-06-2009 07:40 PM

Just so you know: Thanks to cad2go giving me access to his forums the problem has been hunted down at last. There will be a bugfix release shortly.

This will (hopefully) fix all problems with the albums dropdown for all products. If I am on the right track, everybody experiencing this should be on mysqli, not mysql. Making proper adjustments should take care of it finally ;)


All times are GMT. The time now is 06:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01730 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete