Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Closed]: phpBB Simple Fetch  (Read 17533 times)

0 Members and 1 Guest are viewing this topic.

jonw

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Closed]: phpBB Simple Fetch
« on: May 21, 2009, 04:21:48 pm »

I recently upgraded to the latest version of coppermine (from 1.4.18). I am using phpBB fetch to fetch the user's name, the amount of users online, and how many messages are in the users inbox. I had this working without any problems on 1.4.18, now I get this error:

Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :

        <tr>
                <td class="tableb" align="center">
                        <font size="3"><b>{MESSAGE}</b></font>


                        <br /><br />
                </td>
        </tr>



I have narrowed the problem down to including the phpbb common.php file:

include_once ($phpbb_root_path . 'common.' . $phpEx);

Omitting this line allows everything to work besides the user specific functions (such as logging in). I have gone through quite a bit of threads with this problem and I have not been able to find a solution. If this is not possible to fix, is there a website or a directory where I can download previous versions of coppermine? Thank you!
« Last Edit: May 21, 2009, 10:01:40 pm by Joachim Müller »
Logged

jonw

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: phpBB Simple Fetch
« Reply #1 on: May 21, 2009, 04:22:55 pm »

Forgot to include the address to my gallery, my apologies I don't see an edit button:

http://www.liteenbash.com/gallery/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: phpBB Simple Fetch
« Reply #2 on: May 21, 2009, 04:41:04 pm »

I have no idea what phpbb simple fetch is. However, you're still running cpg1.4.18 - you haven't upgraded. Upgrade. If the problem persists, post what coppermine files you changed in which way. Not related to bridging imo. If the problem starts after including a non-coppermine file, ask the people who provide that non-coppermine file for support, not us. We can't support a third party tool that we don't know.
Logged

jonw

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: phpBB Simple Fetch
« Reply #3 on: May 21, 2009, 05:12:29 pm »

Oh sorry! Phpbb fetch allows you to fetch information from your phpbb board. The coppermine bridge is working without any problems and it has nothing to do with this problem. I would ask for support from the phpbb fetch team, but they no longer have an operational website. I have not modified anything other than classic's theme.php file. I added the following:

$phpbb_root_path = '../usercp/';

define ('IN_PHPBB', true);

if (!file_exists($phpbb_root_path . 'extension.inc'))
{
   die ('<tt><b>UserCP:</b>
      The userCP does not point to the correct file directory.</tt>');
}

//
// UserCP related files
//

include_once ($phpbb_root_path . 'extension.inc');
include_once ($phpbb_root_path . 'common.' . $phpEx);

//
// Fetch-All files
//

include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/common.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/stats.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/users.' . $phpEx);

//
// start session management
//

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

// fetch online users
$online = phpbb_fetch_online_users();

// fetch user online, total posts, etc
$stats = phpbb_fetch_stats();

phpbb_disconnect();

I will re-install coppermine again and test it again. Thanks!
Logged

jonw

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: phpBB Simple Fetch
« Reply #4 on: May 21, 2009, 06:49:11 pm »

I decided to modify the system menu and added what I needed myself. I no longer need any support for this, thanks =).
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.