Undefined variable: header_styles in C:\wamp\www\cu

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

rpaneque
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Oct 10, 2012 1:42 am

Undefined variable: header_styles in C:\wamp\www\cu

Postby rpaneque » Wed Oct 10, 2012 1:55 am

Hi

Please I need help with this errors. I have changed several times /init.php for /../init.php and other ways but anyone works. If need more details of the whole page written code please tell me! :help:

My code are theses:
In config.php
require_once($_SERVER['DOCUMENT_ROOT'] .'config.php');

-------
in init.php
require_once('config.php');
require_once('utiles.php');

-------

in index.php
<?php
require_once('init.php');
require_once('header.php');
$page_title= 'Enviar dinero' ;
clear_session_data();
if(!$sess->signed_in()){
?>

Thanks for your help!!


( ! ) SCREAM: Error suppression ignored for
( ! ) Notice: Undefined variable: header_styles in C:\wamp\www\cubatelecom.net\index.php on line 55
Call Stack
# Time Memory Function Location
1 0.0008 262224 {main}( ) ..\index.php:0

( ! ) SCREAM: Error suppression ignored for
( ! ) Notice: Undefined variable: header_scripts in C:\wamp\www\cubatelecom.net\index.php on line 58
Call Stack
# Time Memory Function Location
1 0.0008 262224 {main}( ) ..\index.php:0

( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: require_once(C:/wamp/www/config.php): failed to open stream: No such file or directory in C:\wamp\www\cubatelecom.net\config.php on line 9
Call Stack
# Time Memory Function Location
1 0.0008 262224 {main}( ) ..\index.php:0
2 0.0018 273888 require_once( 'C:\wamp\www\cubatelecom.net\init.php' ) ..\index.php:64
3 0.0026 288592 require_once( 'C:\wamp\www\cubatelecom.net\config.php' ) ..\init.php:8

( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: require_once(): Failed opening required 'C:/wamp/www/config.php' (include_path='.;C:\php\pear') in C:\wamp\www\cubatelecom.net\config.php on line 9
Call Stack
# Time Memory Function Location
1 0.0008 262224 {main}( ) ..\index.php:0
2 0.0018 273888 require_once( 'C:\wamp\www\cubatelecom.net\init.php' ) ..\index.php:64
3 0.0026 288592 require_once( 'C:\wamp\www\cubatelecom.net\config.php' ) ..\init.php:8

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: Undefined variable: header_styles in C:\wamp\www\cu

Postby seandisanti » Wed Oct 10, 2012 9:05 am

yes, seeing the relevant code will help people explain the errors to you and tell you how to fix them.


Return to “PHP coding => General”

Who is online

Users browsing this forum: Exabot [Bot], Majestic-12 [Bot] and 1 guest