Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 10-04-2004, 01:16 PM
Tipi's Avatar
Tipi Tipi is offline
 
Join Date: Jun 2004
Location: Norway
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.

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


- Tipi
Reply With Quote
  #2  
Old 10-04-2004, 06:17 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the exact error that you get when uploading?

Are you CHMod permissions correct?

Have you got any code modifications installed?
Reply With Quote
  #3  
Old 10-04-2004, 09:25 PM
Tipi's Avatar
Tipi Tipi is offline
 
Join Date: Jun 2004
Location: Norway
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Quote:
Originally Posted by peterska2
Have you got any code modifications installed?
No mod's installed.
Reply With Quote
  #4  
Old 10-04-2004, 10:43 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 10-05-2004, 10:40 AM
Tipi's Avatar
Tipi Tipi is offline
 
Join Date: Jun 2004
Location: Norway
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?


Edit: Now i tried to put the XMLfile in the install directory, and run it on the server. Same error.
Reply With Quote
  #6  
Old 10-05-2004, 10:43 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try uploading the XML file to the install directory of your site and then importing it from there.
Reply With Quote
  #7  
Old 10-05-2004, 10:45 AM
Tipi's Avatar
Tipi Tipi is offline
 
Join Date: Jun 2004
Location: Norway
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 10-05-2004, 10:49 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 10-05-2004, 10:55 AM
Tipi's Avatar
Tipi Tipi is offline
 
Join Date: Jun 2004
Location: Norway
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I will! Thank you so much for you're help!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04059 seconds
  • Memory Usage 2,236KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete