[Solved]: bridging cpg1.4.18 / joomla 1.5.4 [Solved]: bridging cpg1.4.18 / joomla 1.5.4
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: bridging cpg1.4.18 / joomla 1.5.4

Started by gusla, July 10, 2008, 02:11:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gusla

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)

gusla

USE THIS USER NAME INSTEAD.....thanks you guys..
Test user account: 

USERNAME:    testuser1
PASSWORD:    password   

gusla

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...


phill104

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
It is a mistake to think you can solve any major problems just with potatoes.

gusla

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..  ???

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

gusla

givin up for now, maybe when some one has a suggestion i will try again..

phill104

#7
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.
It is a mistake to think you can solve any major problems just with potatoes.

gusla

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..

gusla

hopefully some one can fix the bridge.

Joachim Müller


Nibbler

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.

gusla

thanks nibbler, i will try it out.. You guys  are awesome

gusla

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

gusla

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

Nibbler

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.

gusla

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

Nibbler

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.

gusla

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

Nibbler

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' );