Recent Topics

1 Jul 29, 2005 22:31    

When I want to switch to the selfmade skin I get this error:

Fatal error: main(): Failed opening required './_feedback.php' (include_path='.:/usr/local/share/pear') in /pub/home/***/***/skins/alltravel/_main.php on line 230

In the _main.php this is the part with the php code:

<?php // ------------- START OF INCLUDE FOR COMMENTS -------------
$disp_comments = 1; // Display the comments if requested
$disp_comment_form = 1; // Display the comments form if comments requested
require( dirname(_FILE_).'/_feedback.php' );
// -------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ------

In the folder skins/alltravel, the _feedback.php file is present.

the page is on:

http://www.reisinformatieweblog.com and choose the skin 'alltravel' Here the error will be and also the content under the header moved to the right. Header content is suddenly several pixels more down as in the design.

Hope to read some ideas :-)

2 Jul 29, 2005 22:53

 require( dirname(_FILE_).'/_feedback.php' ); 

should be

 require( dirname(__FILE__).'/_feedback.php' ); 

two underscores before FILE and two after.

3 Jul 29, 2005 23:00

Thanks,

How some small can do a lot.

Only the look of the content which has moved to the right.

Anyone know the reason for that?

4 Jul 29, 2005 23:08

and sorry for the mistake in my 'how to'...

it's corrected...


Form is loading...