Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-29-2009, 12:03 PM
HarleyDavidson HarleyDavidson is offline
 
Join Date: Aug 2009
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Plugin & Products System

Initially i thought i had a problem with a product i was trying to install - as it would'nt install.

However i am unable to import any product or plugin.

I can browse my computer, but as soon as i try uploading any product or plugin all im getting, is a vBulletin Message - XML Error: Not well-formed (invalid token) at Line 1

I have tried importing quiet a number of varied products/plugin's just to see if it was a (faulty product/plugin) problem.

I am presuming that this is a problem with my vb board ?
Reply With Quote
  #2  
Old 08-29-2009, 01:48 PM
theFM's Avatar
theFM theFM is offline
 
Join Date: Jan 2008
Location: In the Heaven
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first see is this setting on or not

go to Admincp > vBulletin Options > vBulletin Options > Plugin/Hook System

see if says Yes , if not set it to yes
and try to import the product again.
Reply With Quote
  #3  
Old 08-29-2009, 02:06 PM
HarleyDavidson HarleyDavidson is offline
 
Join Date: Aug 2009
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was set to YES already Switched it to NO then Switched it back to YES just to make sure.

Tried upload again still getting same Error Message.

I have also disabled recent plugin/products to see if they may be the problem, but even with those disabled, i stiil get the same Error Message.
Reply With Quote
  #4  
Old 08-29-2009, 02:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You really should have continued this conversation in the original thread.

Have you posted in the modification thread for help? You didn't even answer my questions in the last thread you started (which is why you shouldn't have started a new thread).
Reply With Quote
  #5  
Old 08-29-2009, 02:44 PM
HarleyDavidson HarleyDavidson is offline
 
Join Date: Aug 2009
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought that i was posting in the right area now, it says -

General vBulletin Discussions
General modification & vBulletin discussions. eg. "How do I do this in vBulletin?", "Can this product do this?", What does this feature do?", etc

Im only looking for some helpfull advice to rectify a problem and not really posting in the wrong place. When im asking "How do i do this in vBulletin?"

Kinda kills the post & Help i might receive.

My apologies, if you think i am wrong.

Im still looking rectify to this problem, if anyone can Help !
Reply With Quote
  #6  
Old 08-29-2009, 03:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't say you were posting in the wrong forum. I said you were starting a new thread about something you had already created a thread about. That's a bit different.

I also recommended posting in the modification thread for better help. Questions and problems regarding modifications are handled in the modification threads - not out here in the main forums. Why? Because people in the modification thread *know* the modification. They know what files are in it, they know what other problems have occured, they know if this particular problem has occured before.

And, I asked some particular questions in your original thread. If you don't want to answer them, then that is fine.
Reply With Quote
  #7  
Old 08-29-2009, 04:06 PM
HarleyDavidson HarleyDavidson is offline
 
Join Date: Aug 2009
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i take your point Lynne, the initial thread your quoting, related to what i believed was a mod - (product fault), after a process of elimination i think the fault is something to do with my upload in products & plugin's, hence the reason for a seperate post on this problem.

Any idea's on what causes this XML Error?

Im stuck at the moment unable to upload anything at all.

Thanks for your understanding.
Reply With Quote
  #8  
Old 08-29-2009, 05:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I don't have any idea. I asked some questions about the file you were trying to import. I asked if you were sure it was a product and not a plugin or hook xml file. I have no idea which modification it is since you have never posted a link to it nor have you posted in the actual thread so I could search on your posts to find the modification. Maybe you aren't following the installation instructions correctly, I don't know cuz you aren't sharing any info about this. Have you tried redownloading the modification? Did you unzip it properly? Which exact file (filename) are you trying to import? Have you ever successfully imported products before on this server?
Reply With Quote
  #9  
Old 08-29-2009, 07:48 PM
HarleyDavidson HarleyDavidson is offline
 
Join Date: Aug 2009
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have previously been able to upload products/plugin's and install them, after unzipping. using cpadmin>products/plugins then - browse computer - import products etc with success.

ie:- Cyb-Advanced Forum Statistics, Cyb-Paypal Donate, Passive Video, PhotoPost vBGallery.

However for some reason now i cant import anything at all. All i keep getting is this Error Message - XML Error: Not well-formed (invalid token) at Line 1
I have tried importing with all previous products/plugin's disabled in case of a conflict but even then i still get this same XML Error Message.

With regards to what you have asked this is the product i am wanting to install

FlashChat 5 - (Chatroom)

The FlashChat Installer

You should upload FlashChat to the folder of your choice, using any good FTP client. I personally recommend AbsoluteFTP from VanDyke Technologies. Be sure to use a "binary" transfer mode. For example, you may upload FlashChat to the "chat" folder on your server.

If you plan to integrate FlashChat with a Bulletin Board or Content Management System, like phpBB, vBulletin, Mambo, PHP-Nuke, etc... or, with a dating system like aeDating or AZDG Dating or TUFaT.com's very own osDate (coming in summer, 2005!), then you must ensure that FlashChat is uploaded to the root folder of your system.

In other words, if you are using phpBB, then you would create a subfolder within the phpBB folder called "chat", and FTP the FlashChat system to that folder. (a) below shows a default installation of FlashChat, and (b) below shows where you would upload FlashChat if integrating with a specific system, like phpBB. Please see the FlashChat information page for a complete list of systems that FlashChat currently integrates with.





Whether you are integrating FlashChat with a special system, or using FlashChat in a default manner, you must now specify the database login information. Here's a very important point: if you are integrating FlashChat with a Bulletin Board or Content Management System, you MUST use the default values. Hint: these values will probably look very familiar to you, because it will probably actually be your real MySQL login. If you are not using such a system, then you should manuall fill in these fields.

New users should be aware that the MySQL login information is typically not the same as your FTP login. If you do not know what your MySQL login is, but you do know that your web server is MySQL-capable, then you should contact your host about setting this up. It only takes about 2 minutes, and once it's set up, your website will be infinitely more powerful than it ever was before.



When you click "Continue", these values are saved to the /inc/config.srv.php file of FlashChat. You don't really need to be concerned with this, unless you plan to perform a manual installation at some later date.



Click "Continue" to proceed with the installer. If you receive this message:

Could not create DB table 'flashchat_bans'
Table 'flashchat_bans' already exists

This means that the FlashChat system was previously installed. You will need to remove the existing database tables before you can continue the installation. To do that, ask your web host if "phpMyAdmin" is available on your server. If it is, then locate the FlashChat tables, and remove them. If phpMyAdmin (or phpFlashMyAdmin, the Flash equivalent of phpMyAdmin) are not available, you can get it at phpMyAdmin.net

Below is a screenshot of phpMyAdmin, showing 16 FlashChat tables. I checked the appropriate tables, then used the "drop" option to remove them. Please be careful that you do not inadvertently drop non-FlashChat tables. It's always a good idea to backup your entire database before making any changes to it. You only need to do this if you get the red "...already exists" message noted above.



If you are NOT integrating FlashChat with a Bulletin Board or Content Management System, then you have another alternative to dropping existing tables: just use a different "table prefix". For example, "flashchat2_" instead of "flashchat_", the default prefix. If you are integrating FlashChat with a Bulletin Board or Content Management System, then you cannot do this - you MUST use the prefix shown by default in Step 2 of the installer.

Once Step 2 is complete, and the FlashChat tables have been successfully added to MySQL, you have a very important choice to make in Step 3.

You may choose to use FlashChat as a "free-for-all" chatroom, or as a "registered users-only" chat room. What's the difference?

Free For All (a.k.a. "Stateless") Registered Users Only (a.k.a. "Default")
User Login Any guest can login with any name, no password required. Users must register their username and password before logging in. No guest access.
Admin Login Any user can login as an admin if they provide the correct admin password, which is set in the /inc/config.php file (default is "adminpass") The first user who registers is automatically the admin, using the login username and password provided during registration.
Profiles No profiles for any users. All users have a profile, which is accessible by clicking on any user's login name in the room list.

In Step 3 of the installer you can also specify a few common configuration options, like the list of rooms, the default language, and whether or not to use the chat in so-called "live support" mode. Live support mode means that users will be logged in as "customers", whereas moderators will be logged in as "support persons". Support persons can see and chat with all customers, but customers can only chat with the moderator.

When you click Continue, a few things happen. FlashChat's "rooms" table is updated with the room list that you specify. Rooms are therefore saved in the database. You can check this using phpMyAdmin:



What about thos other options, like "Live Support" mode and "Default Language". The FlashChat installer updated the "/inc/config.php" file. Most of FlashChat's configuration settings are stored in this single file. This means that if you wish to later enable Live Support mode, or make other configuration changes to FlashChat, you should edit the /inc/config.php file - for example, by setting "liveSupportMode" to true.



You should be very careful when editing this file, however. It's a very easy place to introduce PHP syntax errors. Also, you should use an advanced text editor, like TextPad, not any text editors which come with Windows.

If you chose the "free-for-all" option, then you can skip the section below and proceed immediately to the bot installation. In Step 3 of the FlashChat installer, there was an important choice: "free-for-all" or "registered users-only". If you chose the second option, then you will be presented with additional choices: to use FlashChat's default users table, or to use your own user's table.



By default, FlashChat comes with a registration system, a profile page (profile.php), and a "[prefix]_users" table, where [prefix] was specified in Step 2 of the installer. But what if you have your own user database already? In this case, you may wish to choose the second radio button shown above. You can think of this as integrating FlashChat with your own custom Content Management System. FlashChat assumes that you have some method of

registering users
loading user profiles
validating users with a username/password combination
If you have these three components in place, then choose the 2nd option and click Continue.

Suppose that I have a staff members database, and I'd like to chat with all of my staff member each month, to discuss company issues. For the sake of simplicity, suppose that my staff table looks like this:



I have a "staff_id" field, which is an auto-incrementing integer, and two character fields for login id and password, and a boolean "is_admin" field. We'll assume that my company VPs, which are also staff members, have the special property that they are also admins. So for them, is_admin = 1. This is what Step 5 of the installer might look like. Please note the following....

URL path is the FULL URL (http://...) to the staff profile page.
The Staff ID should be a primary key field, which should uniquely identify every staff member.
If your Staff passwords are MD5 encrypted, please be sure to choose that option for encryption type.
The URL string for profile information should be auto-entered. Most likely, you will not have to change this.


Now, you should be able to login to FlashChat using a valid login from the staff member table, as shown below. As you can see, the user named "darren gates" is an admin, and when he enters the chat, he automatically becomes a moderator.



The final step of the installer allows you to add a "bot" to FlashChat. This is an artificial intelligence system based on markup system called "AIML", which is popularized by AliceBot.org. This is purely for enjoyment, and is not a required part of the FlashChat installation. If you wish to add a bot, you should be aware of the following:

Full installation of the AliceBot system requires 10MB of MySQL database space
For best results, you should check all of the knowledge bases.
You may wish to disable PHP's safe mode before performing the bot installation. Some safe mode configurations do not allow the FlashChat installer to correctly add AIML references to the database.
If you are unsure whether or not you want to have bots running around your chat, you're suggested to "Skip this step" and finish the installer.
Chat 5.
Reply With Quote
  #10  
Old 08-29-2009, 09:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you can't install anything now, then perhaps the issue is with your vbulletin files. Try reuploading totally default vb files in your admin cp (download a new set from vb.com to then unzip and upload to your site).
Reply With Quote
Reply


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 08:45 AM.


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.08119 seconds
  • Memory Usage 2,266KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete