Login
No account yet? Register
Welcome, Guest
Please Login or Register.    Lost Password?
Please take a couple of minutes to search previous discussions and documentation for solutions before starting new threads. Due to the fast development of hwdMediaShare some of these threads might be out of date, please consider this when searching for solutions. Additionally, threads might include links to pages of this website that do not exist anymore, which will produce an "Access Denied" error message.
Update conflicts with RSGallery2 somehow?? (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Update conflicts with RSGallery2 somehow??
#5819
Update conflicts with RSGallery2 somehow?? 1 Month, 1 Week ago Karma: 0  
I cannot give link to live site issue because I cannot afford to have it showing...but the newest videoshare modules when published on the same page as the RSGAllery2 latest photos maks the RSGallery module throw this error

Code:

Fatal error: Cannot redeclare class pear in /home/......../myfashionswagg/includes/PEAR/PEAR.php on line 103


This is not good - as the older version played perfectly with all others??
I am publishing the Datalist for most recent videos on the left of my template and the rsgallery on the right ----

I just confrimed that if I publish them both in teh same module position...the one that is lower in the ordering throws the same error ---

so something about both don't have the proper checking for the pear script already being executed I am assuming?
Jim Nayzium (User)
Senior Boarder
Posts: 44
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
Last Edit: 2008/11/28 21:31 By Jim Nayzium.
 
The administrator has disabled public write access.  
#5845
Re:Update conflicts with RSGallery2 somehow?? 1 Month, 1 Week ago Karma: 0  
I am having the exact same issue. Any advice on how to work around this would be great.
piersol (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#5847
Re:Update conflicts with RSGallery2 somehow?? 1 Month, 1 Week ago Karma: 0  
Joomla 1.15 -- Server = Linux Apache PHP 4.x someting I think 4.4 Mysql 4.22 I think.

I have not solved this yet. Basically -- this upgrade has rendered my frontpage useless for shwoing the most recent picgtures and videos....!!!

Please someone help!
Jim Nayzium (User)
Senior Boarder
Posts: 44
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#5865
Re:Update conflicts with RSGallery2 somehow?? 1 Month ago Karma: 30  
Yes, hwdVideoShare now uses a class called PEAR in the YouTube plugin. When a YouTube video is watched, this class will be called. If another package also defines this class, a fatal error will be produced.

There are two options:
1) Rename the class in hwdVideoShare (or RSGallery2). I know the class in hwdVideoShare is small so it would be easy to rename.
2) Before calling the class - check if the class is already defined. (I expect they are the same)

I will try to do this (option 1) before the end of the week and add it to the Nightly Build.

Which version of hwdVideoShare are you using?
Davros (Admin)
Moderator
Posts: 2870
graph
User Online Now Click here to see the profile of this user
Logged Logged  
 
Like hwdVideoShare?
Support our project and vote in the Joomla Extensions Directory!
extensions.joomla.org/component/option,c...k_id,3698/Itemid,35/
 
The administrator has disabled public write access.  
#5867
Re:Update conflicts with RSGallery2 somehow?? 1 Month ago Karma: 0  
First - THANKS for the quick response.

Second - you are exactly right I think! --- in termsfo the PEAR deal ----

Third - my version - I am unsure - but I downloaded and installed the latest version as of Saturday I think...

adding a line that checks for the pear class would be the way to go I think...but I will await your changes...

thanks.
Jim Nayzium (User)
Senior Boarder
Posts: 44
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#5873
Re:Update conflicts with RSGallery2 somehow?? 1 Month ago Karma: 30  
If it is really urgent - and you are feeling adventurous - you can get involved with the code yourself and use this function:
http://uk2.php.net/class_exists
There are good examples on this page which inform you how to check if a class has been defined.

If things go wrong you can just do a reinstall.

You would only need to edit files in this directory:
JoomlaRoot/components/com_hwdvideoshare/core/youtube/
Davros (Admin)
Moderator
Posts: 2870
graph
User Online Now Click here to see the profile of this user
Logged Logged  
 
Like hwdVideoShare?
Support our project and vote in the Joomla Extensions Directory!
extensions.joomla.org/component/option,c...k_id,3698/Itemid,35/
 
The administrator has disabled public write access.  
Go to top
Subscribe For Unlimited Access
Download Free Version

Who's Online?

Loading
Loading...
hwdMediaShare products now support Joomla 1.5

Getting Started

  • Download Free Version
    Get a copy of the free software first.
  • Install & Test Software
    Check our software is suitable for your project.
  • Subscribe For Pro!
    If you want more features, upgrade and download professional software.

Key Features

hwdMediaShare includes 3 native Joomla components that can be used to run a media sharing portal on your website. The package includes hwdVideoShare - a powerful video gallery used to display video in an organised layout. hwdPhotoShare is a photo gallery for sharing images between users on the Internet. hwdRevenueManager can be used to manage all your adverts in hwdVideoShare and hwdPhotoShare.

Why Subscribe?

We offer a free account that enables webmasters to download an evaluation copy of hwdMediaShare. The free version has some restrictions and does not include any Modules, Mambots or Plugins. If you like the software and want to download the Professional version please support our project and subscribe. The professional version has no restrictions and includes all available Modules, Mambots and Plugins.