vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - Private Message Attachments (https://vborg.vbsupport.ru/showthread.php?t=284138)

Lionel 06-08-2012 03:03 PM

hi,

When I try to open a pm I get this

PHP Code:

Warningunserialize() expects parameter 1 to be string, array given in [path]/packages/pmattachments/postbit/pm.php on line 39 

Warning: unserialize() expects parameter 1 to be string, array given in [path]/packages/pmattachments/postbit/pm.php on line 39

Gemma 06-08-2012 04:03 PM

As others have said, this should be part of the core product. Thanks for releasing :)

KatieG 06-08-2012 05:01 PM

Code:

Warning: unserialize() expects parameter 1 to be string, array given in [path]/packages/pmattachments/postbit/pm.php on line 39

Shadow 06-08-2012 08:20 PM

Very nice mod.
Tagged for later use!

hiker 06-09-2012 05:14 AM

Bummer, I was hoping this would work with 4.1.12

blue6995 06-09-2012 05:51 AM

Ummm, when I try and send PM with an attachment I get the following error message:

Database error in vBulletin 4.2.0:

Invalid SQL:

UPDATE vb3_pm
SET attach = (SELECT COUNT(*) FROM vb3_attachment WHERE contentid = pm.pmid AND attachment.contenttypeid = 24);

MySQL Error : Unknown column 'pm.pmid' in 'where clause'
Error Number : 1054
Request Date : Saturday, June 9th 2012 @ 01:48:56 AM
Error Date : Saturday, June 9th 2012 @ 01:48:56 AM
Script : http://rwf-forum.co.uk/vBulletin/pri...tpm&pmid=70117
Referrer : http://rwf-forum.co.uk/vBulletin/pri...tpm&pmid=70117
IP Address : xx.xx.xx.xx
Username :
Classname : vB_Database
MySQL Version : 5.1.63-cll

ceho 06-09-2012 02:12 PM

When I try to send inline attachments I get this error message:

Code:

Database error in vBulletin 4.2.0:

Invalid SQL:

            UPDATE vb_pm
            SET attach = (SELECT COUNT(*) FROM vb_attachment WHERE contentid = pm.pmid AND attachment.contenttypeid = 24);

MySQL Error  : Unknown column 'pm.pmid' in 'where clause'
Error Number  : 1054
Request Date  : Saturday, June 9th 2012 @ 05:05:26 PM
Error Date    : Saturday, June 9th 2012 @ 05:05:26 PM
Script        : http://www.cureconnections.com/testforum2/private.php?do=insertpm&pmid=
Referrer      : http://www.cureconnections.com/testforum2/private.php?do=newpm
IP Address    : XXX.XXX.XX.XXX
Username      : ceho
Classname    : vB_Database_MySQLi
MySQL Version : 5.0.77

Received pm's can be opened without issues, however there is no attachment preview and if you click on the attachment an error message appears saying an invalid file has been specified.

Just thought you should know :).

Andreas 06-09-2012 02:19 PM

Just a friendly note:
As stated in the Add-on Information, this work is unsupported - all support requets will therefore be ignored.

Thank you very much for your unterstanding.

ceho 06-09-2012 02:23 PM

That's why I don't ask for help but let you know what happens. In case you might need it :).

Taurus1 06-10-2012 02:22 AM

Getting this when trying to upgrade to beta 2:

Fatal error: Using $this when not in object context in /home/thebull/public_html/forums/includes/adminfunctions_plugin.php(1174) : eval()'d code on line 3


All times are GMT. The time now is 04:30 PM.

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.01253 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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