This topic is locked
[SOLVED]

 calendar php 7.0

12/15/2013 10:58:48 PM
PHPRunner General questions
S
stanbar1 author

Hi When i upload project to server error:

i call to hosting they said it is application problem.
Warning: include_once(include\calendar_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/54/7001354/html/seagull/include/appsettings.php on line 416
Warning: include_once() [function.include]: Failed opening 'include\calendar_functions.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/54/7001354/html/seagull/include/appsettings.php on line 416

php error happened
Technical information

Error type 2

Error description Cannot modify header information - headers already sent by (output started at /home/content/54/7001354/html/seagull/include/appsettings.php:416)

URL etaxinet.com/login.php?

Error file /home/content/54/7001354/html/seagull/include/commonfunctions.php

Error line 3291

SQL query

More info
Call stack

File: line Function Arguments

0. include/commonfunctions.php:3291 runner_error_handler 1. 2;

  1. Cannot modify header information - headers already sent by (output started at /home/content/54/7001354/html/seagull/include/appsettings.php:416);
  2. /home/content/54/7001354/html/seagull/include/commonfunctions.php;
  3. 3291;
  4. Array ( ) ;

    1. (null):0 header 1. Cache-Control: no-cache, no-store, max-age=0, must-revalidate;

    2. include/commonfunctions.php:3291 add_nocache_headers N/A

    3. login.php:9 Global scope N/A



T
Tempus_Erus 12/16/2013



Hi When i upload project to server error:

i call to hosting they said it is application problem.
Warning: include_once(include\calendar_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/54/7001354/html/seagull/include/appsettings.php on line 416
Warning: include_once() [function.include]: Failed opening 'include\calendar_functions.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/54/7001354/html/seagull/include/appsettings.php on line 416

php error happened
Technical information

Error type 2

Error description Cannot modify header information - headers already sent by (output started at /home/content/54/7001354/html/seagull/include/appsettings.php:416)

URL etaxinet.com/login.php?

Error file /home/content/54/7001354/html/seagull/include/commonfunctions.php

Error line 3291

SQL query

More info
Call stack

File: line Function Arguments

0. include/commonfunctions.php:3291 runner_error_handler 1. 2;

  1. Cannot modify header information - headers already sent by (output started at /home/content/54/7001354/html/seagull/include/appsettings.php:416);
  2. /home/content/54/7001354/html/seagull/include/commonfunctions.php;
  3. 3291;
  4. Array ( ) ;

    1. (null):0 header 1. Cache-Control: no-cache, no-store, max-age=0, must-revalidate;

    2. include/commonfunctions.php:3291 add_nocache_headers N/A

    3. login.php:9 Global scope N/A




Hi,
Warning: include_once(include\calendar_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/54/7001354/html/seagull/include/appsettings.php on line 416
Looks like you path is incorrect or the file does not exist. This could produce your header errors?
This is a good article on headers....
http://stackoverflow.com/questions/9707693/warning-cannot-modify-header-information-headers-already-sent-by-error

Sergey Kornilov admin 12/16/2013

This might be an issue with back/forward slash in the path to include file.
Just in case make sure you use the latest version of Calendar template.
You can also open AfterAppInit event of your project and make sure that the following line appears with forward slash in the path:

include_once(getabspath("include/calendar_functions.php"));
S
stanbar1 author 12/16/2013



This might be an issue with back/forward slash in the path to include file.
Just in case make sure you use the latest version of Calendar template.
You can also open AfterAppInit event of your project and make sure that the following line appears with forward slash in the path:

include_once(getabspath("include/calendar_functions.php"));




Thank you Very much slash was rong \