i just moved over a website to webfaction. i tried logging into the back end content cms and i get this error:
Warning: include_once(): Failed opening 'events/include.php' for inclusion (include_path='.:/usr/local/share/pear54') in /home/USER/webapps/general/content/include.php on line 33
The line 33 in the include.php has this
for ($x=0;$x<sizeof($subsystemlist);$x++)
{ if ($synchit)
LINE 33> { include_once($subsystemlist[$x][1]."/include.php");
}
}
anyone have a clue on how to fix this?
I notice that there is a dir /usr/local/share/pear54 on WF
asked
17 Jan '14, 07:26
baba
47●7●24
accept rate:
0%
Can you print what the statement
include_once($subsystemlist[$x][1]."/include.php");
evaluates to for all of the items in the loop? (In other words, echo the strings so that we can see all of the specific filepaths it's trying to include.)Hi Ryans . thanks for your response. Sorry to be a bit of a noob on this, but how would i get the "echo outputs " from this PHP job? is there some code i can add to the php files?
You'll definitely want to learn how to use PHP if you plan to run a site that runs on PHP. Information on the echo function is available in the PHP documentation.
The code could look like this: