vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help (https://vborg.vbsupport.ru/showthread.php?t=89875)

Tipi 10-04-2004 12:16 PM

Help
 
Is there another way to upload new skins to vBulletin than via the adminpanel? Everytime i try to upload trough the adminpanel "fatal error" comes up. Nothing happens in the forum. :rolleyes:

I'm sorry if this is the wrong place to post this. :o


- Tipi

peterska2 10-04-2004 05:17 PM

What is the exact error that you get when uploading?

Are you CHMod permissions correct?

Have you got any code modifications installed?

Tipi 10-04-2004 08:25 PM

Quote:

Originally Posted by peterska2
What is the exact error that you get when uploading?

Fatal error: Call to undefined function: xml_parser_create() in /usr/home/*********/***/********/includes/adminfunctions_template.php on line 2814


Quote:

Originally Posted by peterska2
Are you CHMod permissions correct?

I don't know what CHMod permissions is. :o

Quote:

Originally Posted by peterska2
Have you got any code modifications installed?

No mod's installed.

peterska2 10-04-2004 09:43 PM

hmmm right then.

CHMod is the permissions on your FTP server like 777, 755, or whatever.

With regards to your error, try uploading your includes/adminfunctions_template.php again.

You should have a bit in it that look like this

Code:

        // create parser
        $parser = xml_parser_create();

        // set parser options
        xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
        xml_set_element_handler($parser, 'xml_parse_style_otag', 'xml_parse_style_ctag');
        xml_set_character_data_handler($parser, 'xml_parse_style_cdata');

        // parse the XML
        if (!@xml_parse($parser, $xml))
        {
                print_dots_stop();
                print_stop_message('xml_error_x_at_line_y', xml_error_string(xml_get_error_code($parser)), xml_get_current_line_number($parser));
        }

I can't see how this can be causing an error as it is default script (taken from a fresh unzip of my copy)

Are you uploading your XML from your PC or running it from your server?

Tipi 10-05-2004 09:40 AM

I found the code you cut out here, in the file. I uploaded it again, and tried to get the skin from the adminCP. Got the same error:
Quote:

Fatal error: Call to undefined function: xml_parser_create() in /usr/home/*********/***/********/includes/adminfunctions_template.php on line 2814
I'm uploading the XMLfile from my computer. Is there another way to upload new skins? Maby that will work? :confused:


Edit: Now i tried to put the XMLfile in the install directory, and run it on the server. Same error. :(

peterska2 10-05-2004 09:43 AM

Try uploading the XML file to the install directory of your site and then importing it from there.

Tipi 10-05-2004 09:45 AM

Quote:

Originally Posted by Tipi
Edit: Now i tried to put the XMLfile in the install directory, and run it on the server. Same error. :(


I did. :(

peterska2 10-05-2004 09:49 AM

I would raise a support ticket to the support team then using this form as there isn't anything else that I can think of

Tipi 10-05-2004 09:55 AM

Ok, I will! Thank you so much for you're help! :)


All times are GMT. The time now is 10:33 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.02083 seconds
  • Memory Usage 1,729KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete