1
   

need help with a link hack...

 
 
Reply Sun 11 Jan, 2004 07:46 pm
Hi - I hope you don't mind if I ask you one more question - but it requires a bit of an explanation. I downloaded a Links hack from the phpbb site that allows me to add a links gallery off my bulletin (and for users to add their own links).

The installation instructions on the hack said:

***
How to install: Download the zip file and language pack(s) - available on this site - for the language(s) you have installed on your forums. Unpack to any directory on your site, change values of $phpbb_root_path and 'INDEX_LINKS_PAGE' and run MOD_Links_install.php. That's all.
***

So, I downloaded the package in my bulletin directory (../bulletin/links...).

I wasn't sure about the chaing values of $phpbb_root_path bit, so I checked my bulletin's index.php file. The line reads:

Code:define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);


Since the root path looks the same as noted in the installation directions, I didn't change any paths. I did run the MOD_links.php and it ran fine. Now, when I tried to check my links file, I received this error message:

****
Warning: main(./language/lang_english/MOD_links.php): failed to open stream: No such file or directory in /web/htdocs/pages/bulletin/links.php on line 44

Warning: main(): Failed opening './language/lang_english/MOD_links.php' for inclusion (include_path='') in /web/htdocs/pages/bulletin/links.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/pages/bulletin/links.php:44) in /web/htdocs/pages/bulletin/includes/page_header.php on line 617

Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/pages/bulletin/links.php:44) in /web/htdocs/pages/bulletin/includes/page_header.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/pages/bulletin/links.php:44) in /web/htdocs/pages/bulletin/includes/page_header.php on line 620
****

The line #44 in my links.php document reads:
Code:include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/MOD_links.' . $phpEx);


So, where did I go wrong? My header file is located in the bulletin/template/subsilver/ directory....

HOpe you can help!

Thanks,
Natasha
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 1,004 • Replies: 1
No top replies

 
Craven de Kere
 
  1  
Reply Mon 12 Jan, 2004 01:48 am
Is the file in the same folder as your forum?

And check to see if there is extra white-space at the beginning or end of the php files.

Make sure you uploaded in ASCII mode.
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » need help with a link hack...
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 01/16/2025 at 06:50:40