PDA

View Full Version : Help


Tipi
10-04-2004, 01:16 PM
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, 06: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, 09:25 PM
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


Are you CHMod permissions correct?

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

Have you got any code modifications installed?

No mod's installed.

peterska2
10-04-2004, 10: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

// 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, 10: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:
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, 10:43 AM
Try uploading the XML file to the install directory of your site and then importing it from there.

Tipi
10-05-2004, 10:45 AM
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, 10:49 AM
I would raise a support ticket to the support team then using this form (http://www.vbulletin.com/contact_sales.php) as there isn't anything else that I can think of

Tipi
10-05-2004, 10:55 AM
Ok, I will! Thank you so much for you're help! :)