Jump to content
php.lv forumi

Fatal error


kalabox

Recommended Posts

Sveiki, tātad kaut kas nogāja greizi un tagat tāda kļūda

 

Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/musicboxv2/sources/database.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/vhosts/chats.noads.biz/sources/session.php on line 49

 

Reku 49 rinda

 

require_once(ROOT_DIR."/sources/database.php");

 

Cik saprotu tad nevar atvērt database.php source direktorijā, bet atrodas tanī pašā direktorijā kur session.php

Edited by kalabox
Link to comment
Share on other sites

bool(false)

Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/musicboxv2/sources/mailer.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/vhosts/chats.noads.biz/sources/session.php on line 50

 

 

49, 50, 51 rinda

 

var_dump(file_exists(ROOT_DIR."/sources/database.php"));

require_once(ROOT_DIR."/sources/mailer.php");

require_once(ROOT_DIR."/sources/form.php");

 

Nomainīju visus 3 uz

 

var_dump(file_exists(ROOT_DIR."/sources .. .. .

 

un reku

 

bool(false) bool(false) bool(false) No config value Set yet in session

Link to comment
Share on other sites

Izveidoju pa jaunu direktoeiju un ieliku tamajā datus iekšā. tagat tāda šaize

 

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\tests\libs\Pear\DB.php on line 311

 

@$obj =& new $classname;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...