Icy Phoenix

     
 

SOLVED Problems With Define Porting A MOD

SOLVED Problems With Define Porting A MOD

Article
Reply with quote    Download Post 
Post Problems With Define Porting A MOD 
 
Hi

I´m trying to port an PhpBB2 Mod to IP 1.3.

Got a small problem with this define var

This is the code i got :

Code: [Download] [Hide] [Select]
// Load default header
//
$ip_root_path = "../";
require('pagestart.' . PHP_EXT);
include(IP_ROOT_PATH .'includes/constants.'. PHP_EXT);
include(IP_ROOT_PATH . 'includes/functions_formel.' . PHP_EXT);
include(IP_ROOT_PATH . 'language/lang_' . $board_config['default_lang'] . '/lang_formel.' . PHP_EXT);

$page_title =  $lang['formel_acp_title'];


and this is the error i get:

Quote:
Notice: Use of undefined constant IP_ROOT_PATH - assumed 'IP_ROOT_PATH' in H:\wamp\www\ip_1.3\adm\admin_formel_drivers.php on line 34

Notice: Use of undefined constant PHP_EXT - assumed 'PHP_EXT' in H:\wamp\www\ip_1.3\adm\admin_formel_drivers.php on line 34

Warning: include(IP_ROOT_PATHincludes/constants.PHP_EXT) [function.include]: failed to open stream: No such file or directory in H:\wamp\www\ip_1.3\adm\admin_formel_drivers.php on line 34

Warning: include() [function.include]: Failed opening 'IP_ROOT_PATHincludes/constants.PHP_EXT' for inclusion (include_path='.;C:\php5\pear') in H:\wamp\www\ip_1.3\adm\admin_formel_drivers.php on line 34

Notice: Use of undefined constant PHP_EXT - assumed 'PHP_EXT' in H:\wamp\www\ip_1.3\adm\admin_formel_drivers.php on line 36

Warning: require(pagestart.PHP_EXT) [function.require]: failed to open stream: No such file or directory in H:\wamp\www\ip_1.3\adm\admin_formel_drivers.php on line 36

Fatal error: require() [function.require]: Failed opening required 'pagestart.PHP_EXT' (include_path='.;C:\php5\pear') in H:\wamp\www\ip_1.3\adm\admin_formel_drivers.php on line 36



Any ideas what to change ?


Edit

Solved this myself, checking existing files in IP



 
spydie - View user's profile Send private message  
spydie [ Tue 04 Aug, 2009 14:23 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


SOLVED Problems With Define Porting A MOD

Comments
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron