Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron