coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: gusla on July 10, 2008, 02:11:58 AM

Title: [Solved]: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 10, 2008, 02:11:58 AM
Hey guys its been a while. I figured i would try to take the next step and bridge joomla with cpg. Here's what happed.

Fatal error: Call to undefined function: jimport() in /var/www/vhosts/girlz.la/httpdocs/joomla/includes/application.php on line 17

I used your joomla15.inc.php.tar file.
I read through all the forums but cant find a fix for this. I included info below, If you could help it would be very greatful...


http://www.girlz.la/login/

Bridge Wizard: p
Forum URL:    http://www.girlz.la/joomla/forum
Full URL of your BBS app a Relative path to your BBS's config file: http://www.girlz.la/joomla/   




Coppermine install: http://girlz.la/login
Forum install: http://girlz.la/joomla
Coppermine version: cpg1.4.18
Forum version: Joomla_1.5.4-Stable-Full_Package
Test user account:   
USERNAME:    testuser
PASSWORD:    password   

BridgeManager settings:
Forum URL:  http://mysite.tld/test/foo_bar
Relative path to your BBS's config file:  joomla
Use post-based groups?:  0
Cookie name/preifx (if applicable)
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 10, 2008, 02:33:02 AM
USE THIS USER NAME INSTEAD.....thanks you guys..
Test user account: 

USERNAME:    testuser1
PASSWORD:    password   
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 12, 2008, 12:10:58 PM
Can anybody help?

Just wondering what I'm doing wrong....

Do I have to install my joomla site inside a folder called FORUM.. or is OK to install it into a folder called joomla...

any help would be great fully appreciated..


thanks so much. I have my personal website running on coppermine and i love it but this bridging stuff confuses me...

Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: phill104 on July 16, 2008, 08:13:30 PM
I assume you are using Mehdi's bridge?

If so you need to go to his site and ask for support there as it is not something made or supported by the coppermine team.

http://www.mehdiplugins.com/misc/index.htm (http://www.mehdiplugins.com/misc/index.htm)
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 16, 2008, 08:55:07 PM
Im actually not using Mehdi's bridge?

Im using there bridge they provided..


I used your joomla15.inc.php.tar file.

I think im giving up though. Im just goint to use joomla and link to coppermine..  ???
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: phill104 on July 16, 2008, 09:35:18 PM
Ah, I missed Nibbler's bridge. It has the same file name as one in the other bridge mentioned.

Shame you have given up. Good luck with your site.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 16, 2008, 09:52:50 PM
givin up for now, maybe when some one has a suggestion i will try again..
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: phill104 on July 16, 2008, 09:54:18 PM
Can you go through the steps you did to install the bridge and I will see if I can help.

*edit - I have just tried this bridge with the latest version of Joomla and I get the error you describe but it works fine with Joomla 1.5rc1. This suggests that the core of Joomla has changed since that bridge was written.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 16, 2008, 10:03:23 PM
yes, i will as soon as i get joomla installed again. Im doing a fresh install into a folder called /forum on the server instead of /joomla not sure if the folder name matters but figured i would try. thanks for the interest..
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 16, 2008, 10:09:47 PM
hopefully some one can fix the bridge.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: Joachim Müller on July 17, 2008, 07:50:57 AM
Moving to bugs board
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: Nibbler on July 17, 2008, 01:42:27 PM
Change


require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/includes/application.php' );


to this


require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/includes/application.php' );


This shouldn't be on the bugs board - this bridge is a contribution not a part of the Coppermine package.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 17, 2008, 07:37:09 PM
thanks nibbler, i will try it out.. You guys  are awesome
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 04:35:18 AM
ok, so now  I'm getting...

Fatal error: cpg_udb() [function.require]: Failed opening required '/includes/defines.php' (include_path='.:') in /var/www/vhosts/girlz.la/httpdocs/cpg/bridge/joomla15.inc.php on line 33

Ok i made a new user account for you guys.


User :   testuser
Pssword:  password


http://www.girlz.la/cpg/index.php
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 06:03:31 AM
Ok my bad i forgot to edit into the bridgemgr.php file ...

$default_bridge_data['joomla15'] = array(
  'full_name' => 'Joomla 1.5',
  'short_name' => 'joomla15',
  'support_url' => 'http://www.joomla.org/',
  'full_forum_url_default' => 'http://www.yoursite.com/joomla',
  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
  'relative_path_to_config_file_default' => '../joomla/',
  'relative_path_to_config_file_used' => 'lookfor,configuration.php',
  'use_post_based_groups_default' => '0',
  'use_post_based_groups_used' => 'radio,1,0',

Ok so i did this and then it took me through the prompt of


Forum URL:  ( I entered ) http://www.girlz.la./forum

Relative path to your BBS's config file:  ( I entered )    ../forum/

after this i got


Fatal error: Class jsite: Cannot inherit from undefined class japplication in /var/www/vhosts/girlz.la/httpdocs/forum/includes/application.php on line 27
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: Nibbler on July 18, 2008, 10:12:48 AM
Change it to this then.


require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/libraries/joomla/application/helper.php' );
require_once ( JPATH_BASE .'/includes/application.php' );


Keep adding what it wants until it works. If that gets you nowhere the bridge file might need to be rewritten for this new version.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 06:23:22 PM
Ok i tried that...
Now I'm just getting a white page with this error on it.



Fatal error: Class jsite: Cannot inherit from undefined class japplication in /var/www/vhosts/girlz.la/httpdocs/forum/includes/application.php on line 27
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: Nibbler on July 18, 2008, 06:26:48 PM
Try


require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/libraries/joomla/application/application.php' );
require_once ( JPATH_BASE .'/includes/application.php' );


Probably need a whole new bridge though.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 06:29:53 PM
Ok,

thanks nibbler i really appreciate the help. Here is what i got..

Fatal error: Class japplication: Cannot inherit from undefined class jobject in /var/www/vhosts/girlz.la/httpdocs/forum/libraries/joomla/application/application.php on line 31
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: Nibbler on July 18, 2008, 06:31:27 PM
OK then.


require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/libraries/joomla/base/object.php' );
require_once ( JPATH_BASE .'/libraries/joomla/application/application.php' );
require_once ( JPATH_BASE .'/includes/application.php' );
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 06:33:48 PM
Your awesome thanks for not giving up.. but now i got





Fatal error: Undefined class name 'jfactory' in /var/www/vhosts/girlz.la/httpdocs/forum/libraries/joomla/application/application.php on line 707
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: Nibbler on July 18, 2008, 06:40:00 PM


require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/libraries/joomla/base/object.php' );
require_once ( JPATH_BASE .'/libraries/joomla/factory.php' );
require_once ( JPATH_BASE .'/libraries/joomla/application/application.php' );
require_once ( JPATH_BASE .'/includes/application.php' );
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 06:49:15 PM

Fatal error: Undefined class name 'jfilterinput' in /var/www/vhosts/girlz.la/httpdocs/forum/libraries/joomla/session/storage.php on line 58


So i added

                require_once ( JPATH_BASE .'/libraries/joomla/filterinput.php' );


now im getting this.

Fatal error: cpg_udb() [function.require]: Failed opening required '../forum//libraries/joomla/filterinput.php' (include_path='.:') in /var/www/vhosts/girlz.la/httpdocs/cpg/bridge/joomla15.inc.php on line 36

sorry totally new to coding...
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: Nibbler on July 18, 2008, 07:22:35 PM

require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/libraries/joomla/base/object.php' );
require_once ( JPATH_BASE .'/libraries/joomla/factory.php' );
require_once ( JPATH_BASE .'/libraries/joomla/filter/filterinput.php' );
require_once ( JPATH_BASE .'/libraries/joomla/application/application.php' );
require_once ( JPATH_BASE .'/includes/application.php' );
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 07:26:31 PM



Fatal error: Undefined class name 'jerror' in /var/www/vhosts/girlz.la/httpdocs/forum/libraries/joomla/factory.php on line 564
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 18, 2008, 11:21:35 PM
I'm not sure what to do now. Should i wait to see if someone can fix this? I would do it my self but I'm a graphic artist and photographer so i don't have the knowledge to do so. If there is any way i could help someone else out in any way i will do so intrade for getting this to work ( like some graphic designs or logo work). I want to launch our site in the middle of august. And i would love to have coppermine implemented into joomla, instead of just running joomla alone. Thank you very much for your guys help.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: phill104 on July 19, 2008, 11:08:06 AM
Although it is a bit of a hack you could use the other bridge mentioned earlier in this thread.

I've spent a while adding lines to this one as suggested by nibbler above and once I got to 12 I gave up. It looks like the bridge needs a bit of work as the Joomla core appears to have changed quite a bit since this was written. You have to remember that the devs have day jobs and do all this for free in their spare time and are also working hard to develop the new version.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 19, 2008, 11:43:03 AM
yah the developers are awesome and i think coppermine is a awesome app. They have been the biggest help and very quick to respond.  Did you have any luck with the other bridge mentioned? 
I think it might be the only way right now. What version of joomla are you running?
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: phill104 on July 19, 2008, 08:08:06 PM
I've been using the other bridge for a long time now on one of my sites ( http://www.windsurf.me.uk ) and it works really well though that site is on the old joomla. I have a site with J1.54 but is is not yet live and it works well there too.
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 20, 2008, 12:48:09 AM
Ok i will give it a try. By the way your site looks great. I really like how you have the coppermine imbeded into the joomla being able to stay in the one website and not jumping to something  different looking is great.very good job... i will report back
Title: Re: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on July 22, 2008, 03:09:07 AM
ok the bridge mentioned early works great. It actually wraps coppermine right into it and it looks better then i thought it would. The one thing that they aren't clear of is that you have to install it through joomla. i was trying to get to the install though http:

Any  way i cant wait for the dev of coppermine to get there bridge working but this will do for now....


Thanks again you guys especially NIBBLER for helping me out....

Title: Re: [Solved]: bridging cpg1.4.18 / joomla 1.5.4
Post by: gusla on August 01, 2008, 01:23:59 AM
ok... new discovery. I have now figured out that my vps is a problem, as I'm kinda a beginner i had a advanced coder look into the problem i was having.
I was trying to install a Paypal copenent into my Hacked Joomla/Coppermine website./
Ends up being file permissions problems so I'm wondering if any body else had the same issues or maybe it was just my VPS.
I'm moving back to a Shared host account From my Problematic VPS.....
Title: Re: [Solved]: bridging cpg1.4.18 / joomla 1.5.4
Post by: fwhsdesigns on August 22, 2008, 09:07:48 PM
I am also getting the same error you had started out with. I am going to add the fixes that Nibbler had posted till it works.
Title: Re: [Solved]: bridging cpg1.4.18 / joomla 1.5.4
Post by: fwhsdesigns on August 22, 2008, 09:36:32 PM
Got this
Fatal error: Class 'JError' not found in /hermes/bosweb/web026/b261/d5.fwhsdesigns/public_html/libraries/joomla/factory.php on line 564

This is what I have so far

require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/libraries/joomla/base/object.php' );
require_once ( JPATH_BASE .'/libraries/joomla/factory.php' );
require_once ( JPATH_BASE .'/libraries/joomla/filter/filterinput.php' );
require_once ( JPATH_BASE .'/libraries/joomla/application/application.php' );
require_once ( JPATH_BASE .'/includes/application.php' );
                require_once ( JPATH_BASE .'/libraries/joomla/factory.php' );


Title: Re: [Solved]: bridging cpg1.4.18 / joomla 1.5.4
Post by: philzi on September 03, 2008, 04:44:15 PM
Hello,

I too am trying to integrate Coppermine with Joomla.

I have:

require_once ( JPATH_BASE .'/includes/defines.php' );
require_once ( JPATH_BASE .'/libraries/loader.php' );
require_once ( JPATH_BASE .'/libraries/joomla/base/object.php' );
require_once ( JPATH_BASE .'/libraries/joomla/factory.php' );
require_once ( JPATH_BASE .'/libraries/joomla/filter/filterinput.php' );
require_once ( JPATH_BASE .'/libraries/joomla/application/application.php' );
require_once ( JPATH_BASE .'/includes/application.php' );

in the joomla15.inc.php file but am now getting the following error:

Fatal error: Class 'JError' not found in /var/www/html/libraries/joomla/factory.php on line 564

Can anyone help?

Thanks

philzi
Title: Re: [Solved]: bridging cpg1.4.18 / joomla 1.5.4
Post by: fwhsdesigns on September 03, 2008, 04:48:00 PM
I gave up on this and used mehdi's method. I was hoping for a fix, but gave up waiting. I hope that when cpg1.5 comes out it will have a native joomla bridge.
Title: Re: [Solved]: bridging cpg1.4.18 / joomla 1.5.4
Post by: Joachim Müller on September 03, 2008, 07:31:22 PM
Locking