Welcome to Geeklog Saturday, September 26 2020 @ 05:46 pm EDT

Geeklog Forums

Failed to open stream


Anonymous

Anonymous
Y get an error like this: Warning: main(/home/httpd/vhosts/homeya.com/httpdocs): failed to open stream: Success in /home/httpd/vhosts/homeya.com/httpdocs/public_html/lib-common.php on line 69 Fatal error: main(): Failed opening required '/home/httpd/vhosts/homeya.com/httpdocs' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/homeya.com/httpdocs/public_html/lib-common.php on line 69 Can eny one help please..
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Make sure the one line you changed in lib-common.php ends in "config.php". It looks like you only entered a path (i.e. a directory name) there.

bye, Dirk
 Quote

Tocotoco

Anonymous
As a matter of fact no. It stayed like this.
lib-common.php stayed like this:
require_once('/home/httpd/vhosts/homeya.com/config.php'
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Something doesn't add up here. The error message states
Failed opening required '/home/httpd/vhosts/homeya.com/httpdocs'
which means that it tried to read "httpdocs" as a file. It also refers to line 69 of lib-common.php as the line causing this error. Yet you say you have a different path (without the "httpdocs", but with "config.php") there.

Do you have more than one lib-common.php?

bye, Dirk
 Quote

Tocotoco

Anonymous
Question: as per the script above , where might the problem be? lib-comon.php or config.ph? The the string above came from Install program not from me and as I look at it tima nad time, I see there is ni file stated afte the first "httpdocs" location, Question: What file CREATED this and was unable to ind SUCCESS? uuu, sorry. thank you again for the time, Repply if you know please.
Toco
 Quote

Tocotoco

Anonymous
Exactly! HTTPDOCS is being treated as a file here...I have only one lib-commom, however, I suspect the problem lies on the fatct that I have to ADMIN files: one after httpdocs/admin and another one at httpdocs/public_html. I wish I coluld merge them afte httpdocs/ to make things easy... (no overapin files here)
 Quote

All times are EDT. The time is now 05:46 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content