vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Adv. Editing Options for Mods and Admins (https://vborg.vbsupport.ru/showthread.php?t=98737)

TosaInu 11-22-2006 05:46 PM

Quote:

Originally Posted by TosaInu (Post 1115380)
Installed the update and checked everything is there:

Fatal error: Cannot redeclare get_editlevels() (previously declared in /xxx/xxx.xxx.xxx/betavb/includes/init.php(292) : eval()'d code:22) in /xxx/xxx.xxx.xxx/betavb/global.php(349) : eval()'d code on line 24

The older versions works, but it has the 'bug' of not showing when an admin posts. This new version creates above error message. Any pointer please?

akanevsky 11-22-2006 06:06 PM

Quote:

Originally Posted by TosaInu (Post 1123146)
The older versions works, but it has the 'bug' of not showing when an admin posts. This new version creates above error message. Any pointer please?

Uninstall the older version before installing the new one.

mhc1576 11-22-2006 09:10 PM

When editing a post with some attachments and upploading more than one time before saving the post again the attachments from one of the upploads dissapear and the other is posted with user 0.
The next time the post is edited the rest may or may not dissapear.

This issue is with 3.6.3 and only present with AEO enabled.

akanevsky 11-23-2006 03:37 PM

Quote:

Originally Posted by mhc1576 (Post 1123252)
When editing a post with some attachments and upploading more than one time before saving the post again the attachments from one of the upploads dissapear and the other is posted with user 0.
The next time the post is edited the rest may or may not dissapear.

This issue is with 3.6.3 and only present with AEO enabled.

How exactly do I reproduce the problem?

mhc1576 11-23-2006 05:36 PM

It may be a timing issue. I found attachments under user 0 and some users complains about loosing attachments.
I tried different ways to recreate it with single upploads but was not successful recreating the problem.
At one occation the username was lost and the attachment was saved under user 0 but still accessible.
1 So I did set the upload to 10 at a time.
2 Created a thread and uploaded 10, (1-10) saved the thread.
3 Edited and uploaded 10 more (11-20), saved the thread.
4 Edited again and uploaded 10 more (21-30), saved the thread.
5 Edited and uploaded 10 more (31-40), then uploaded 10 more (41-50) before leaving the attachment upload window, saved the thread.
Then the first uppload (31-40) was lost when saving.
6 Edited again and saved and now the (41-50) appeared under user 0.

Another way I found on a 3.5.4 Forum was if you create a new thread and change the user, write the post, upload an attachment and save, then the attachment was lost. Since this was some time ago I do not recall if it was saved under the wrong user or user 0.
After I discovered the problem I just changed the way I used the hack and changed the name afterwards instead.
May be a related problem to the above.

PHP 4.4.2
Zend Engine v1.3.0
ionCube PHP Loader v3.1.16
Zend Extension Manager v1.0.9
Zend Optimizer v2.6.2
MySQL 4.1.21-standard

Hope this may help,
Many thanks for your excellent Mods and your way of supporting them and taking time to investigate issues like this.

Best Regards
Hakan

Edit: The problem I describe relates to AEO 2.0.1, havent tested 2.0.2 as I just saw the release after posting this.

akanevsky 11-23-2006 05:39 PM

Uhm... Why would you want to post attachments as someone else though? This hack is not designed to work with attachments.

mhc1576 11-24-2006 05:32 AM

Quote:

Originally Posted by Psionic Vision (Post 1123786)
Uhm... Why would you want to post attachments as someone else though? This hack is not designed to work with attachments.

Well, I have a lot of older people that needs help publishing and we also build knowledgebases, gradually improving the information.

I do not fully understand what you mean by the hack not supporting attachments?

Are you able/intrested to reproduce the problem or will you leave it as is?

Arngrim 11-24-2006 06:23 AM

Here's the error I receive when trying to [Add Product] :

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Adv. Editing Options for Mods & Admins', 'cache_templates', 'if (in_array(THIS_SCRIPT, array(\'newthread\', \'newreply\', \'editpost\')))\r\n{\r\n $globaltemplates[] = \'adv_editform\';\r\n}', 'psionic_advedit');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Thursday, November 23rd 2006 @ 11:50:24 PM
Script : http://www.omitted.com/forums/admincp/plugin.php
Referrer : http://www.omitted.com/forums/adminc...?do=productadd
IP Address : (Omitted)
Username : (Omitted)
Classname : vb_database
I attached that line that was suggested if any problems arose to each of the three templates, though after uninstalling the product and adding it again I got the same database error. Any ideas? (Yes, all the steps were followed, et cetera.) Cheers.

Paul M 11-24-2006 07:45 AM

The current product xml is a vb 3.6 format file, and will not load into vb 3.5, you will have to wait for the author to upload a file in the correct format.

akanevsky 11-24-2006 11:45 AM

Quote:

Originally Posted by Paul M (Post 1124128)
The current product xml is a vb 3.6 format file, and will not load into vb 3.5, you will have to wait for the author to upload a file in the correct format.

Thanks, Paul, for pointing that out. File re-uploaded.


All times are GMT. The time now is 06:00 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.01465 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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