vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - [APM] Advanced Product Management 3.0.4 (https://vborg.vbsupport.ru/showthread.php?t=121792)

mtha 09-25-2006 04:11 AM

Quote:

Originally Posted by stcont
Help error :(
(vBulletin 3.6.1)

Parse error: parse error, unexpected '}' /forum/admincp/apm_product.php on line 2855

Interesting. seems like you were getting error when exporting a product, right?

I cant reproduce the problem.

Could you tell me exactly what you were doing, when getting that error message, or which product you are trying to export.

is there anything special about the product.
can you export the product using standard vB's export?

stcont 09-25-2006 04:32 AM

click & links http://homepadge/forum/admincp/apm_product.php
error Parse error: parse error, unexpected '}' /forum/admincp/apm_product.php on line 2855
Decision: coments this code

/*

PHP Code:

{
        if (empty(
$setting["$grouptitle"]))
        {
            continue;
        }

        
// add a group for each setting group we have settings for

        
$xml->add_group('settinggroup', array('name' => htmlspecialchars($group['grouptitle']), 'displayorder' => $group['displayorder']));

        foreach(
$setting["$grouptitle"] AS $set)
        {
            
$arr = array('varname' => $set['varname'], 'displayorder' => $set['displayorder']);
            if (
$set['advanced'])
            {
                
$arr['advanced'] = 1;
            }
            
$xml->add_group('setting'$arr);

            if (
$set['datatype'])
            {
                
$xml->add_tag('datatype'$set['datatype']);
            }
            if (
$set['optioncode'] != '')
            {
                
$xml->add_tag('optioncode'$set['optioncode']);
            }
            if (
$set['validationcode'])
            {
                
$xml->add_tag('validationcode'$set['validationcode']);
            }
            if (
$set['defaultvalue'] !== '')
            {
                
$xml->add_tag('defaultvalue'$set['defaultvalue']);
            }
            if (
$set['blacklist'])
            {
                
$xml->add_tag('blacklist'1);
            }
            
$xml->close_group();
        }

        
$xml->close_group();
    } 

*/
error no // but also not all functions hacks work

mtha 09-25-2006 04:55 AM

Quote:

Originally Posted by stcont
click & links http://homepadge/forum/admincp/apm_product.php
error Parse error: parse error, unexpected '}' /forum/admincp/apm_product.php on line 2855
Decision: coments this code

error no // but also not all functions hacks work

I dont think you understand my question. I need to know exactly what you were doing, when getting that error, so I can check my code and see what's wrong with it.

I already check the line 2855, and there's nothing wrong there (in that area), so I need more information (as above questioned - if you want support).

is there anyone else getting the same error?

mtha 09-25-2006 05:11 AM

Quote:

Originally Posted by Paul M
If I try and add install code I just get an "Invalid Product Specified" error when clicking save.

Edit - this only seems to be if previous install code exists.

Fixed in version 3.0.4

Paul, try it out and see if it works now. thanks

Paul M 09-25-2006 08:34 AM

Yes, that seems to have fixed it. :up:

sezmar 09-25-2006 01:02 PM

I get this error when viewing product ZSEO

Fatal error: Call to undefined function: fetch_style_title_options_array() in
/homepages/XX/XXXX/htdocs/testvbb/admincp/apm_product.php(215) : eval()'d code on line 1

any ideas?

Paul M 09-25-2006 09:44 PM

That's a function in adminfunctions_options.php, so I would guess that file need adding to the includes at the start of apm_product.php.

Paul M 10-03-2006 01:51 AM

Another minor thing - when the plugin system is disabled, clicking on Advanced Product Management just gives a completely blank screen.

mtha 10-06-2006 11:15 PM

Quote:

Originally Posted by Paul M
Another minor thing - when the plugin system is disabled, clicking on Advanced Product Management just gives a completely blank screen.

I think I have that fixed on the latest version, or maybe I just have it fixed on my local :) anyway, will check and upload the new file.

adwade 10-11-2006 04:03 PM

Quote:

Originally Posted by mtha
It also add some additional fields to the product, just to save more information with a product
Release Date
Product Author
Extra Information

The extra information is only available if you install APM, and use APM to export/import other product.

So do you just need to Re-Import all your .xml files (overwrite?) and let the APM get a read of everything then to have ALL the information you can?

Very Nice Product by the way!


All times are GMT. The time now is 07:45 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.01315 seconds
  • Memory Usage 1,762KB
  • 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
  • (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