1
leebrendalee
Major problems all of a sudden

Hello, upon logging into admin, I found an error that said something about the server, so I called my server and they fixed the error, (not sure if it was a hack or what), now I have major errors here that look like this: PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(mainfile.php)

the onlly thing I can do is log into the site as admin..thats it, from there nothing goes to anywhere.
and I have no idea how to fix??? any idea please. Do you need to know the version of xoops? This is not a files permission, the mainfile.php is 444 as per instructions, however like i said this is error for many more like this:

PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main() [function.include]: Failed opening 'mainfile.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main() [function.include]: Failed opening 'header.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main() [function.include]: Failed opening 'footer.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main() [function.include]: Failed opening 'mainfile.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main() [function.include]: Failed opening 'header.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main() [function.include]: Failed opening 'footer.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main() [function.include]: Failed opening 'mainfile.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 35
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(header.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main() [function.include]: Failed opening 'header.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 43
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44
PHP Warning: main() [function.include]: Failed opening 'footer.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web158/b1581/ipw.wps2winc/public_html/index.php on line 44

2
irmtfan
Re: Major problems all of a sudden
  • 2008/5/1 13:44

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


it seems it can not read from mainfile.php

check all files and folders with the correct prmission. if you have the latest XOOPS version you can do easily with the file integrity check introduce in the latest versions of XOOPS.

Ah and also check the files owners sometimes the owner is changed by the server admin.
see if you can change permissions with chmod command.if you could not change permissions it is obvious that your account is not the owner.

3
leebrendalee
Re: Major problems all of a sudden

Hello and thank you for your reply! I have checked the permission but I am not sure what they should be. The mainfile.php is: 444, user.php is 755, index.php is 644, admin.php is744, all of those files are in /public_html, from there under /public_html/modules/ there are: index.html:770, than /public_html/modules/system/ and there are: admin.php-744, index.html:770, menu.php-770, than /public_html/modules/system/admin/ blocks are 770, and /public_html/modules/system/admin is 770 so it goes on that like with an error when trying to access:
The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

So when I check the logs I get all that other stuff above.
Now I"m using version:
Powered by XOOPS 2.0.13.1 © 2001-2005 The XOOPS Project

however if I use the patch upgrade to get to 2.20 I think it is, the directions tell me to go and install by going into a certain file I forget, however if I have to do this from the admin panel, of course I wont be able too.

What else can I check or do ? I'm kinda stuck right now, however at least folks who have paid can get to what they want....thank god.

4
leebrendalee
Re: Major problems all of a sudden

hello,

Any suggestions from anyone please? Nothing was changed on our end...I need help or I have to switch programs as this is useless to me and Have no clue how to repair.

5
trabis
Re: Major problems all of a sudden
  • 2008/5/2 12:53

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I just can say that your permissions are strange.
I have 444 for mainfile
755 for folders
644 for files
and 777 fot upload folders, cache, templates_c and whatever that needs writing permissions.

6
irmtfan
Re: Major problems all of a sudden
  • 2008/5/2 13:36

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


the latest stable version is 2.0.18.1

correct permissions are those trabis wrote in previous post.

1- please check if you can change permissions to the correct ones yourself. try from Cpanel

2- if you cant change them then contact your server and want them to change permissions and set your account as the owner of all data.

7
skenow
Re: Major problems all of a sudden
  • 2008/5/3 2:55

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Are you an iPowerWeb customer? Looks familiar...they've been migrating accounts to new servers. Connect to your server or cpanel and check your root path. Then confirm the setting in your mainfile matches.

8
leebrendalee
Re: Major problems all of a sudden

Yes I've chked the file permissions and they are as above. I logged into ipower/and chked in the file manager there also everything is under public_html, able to click on administration from home page and than this error when going anywhere:
The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.
--------------------------
all folder are 755 except the couple that are 777, mainfile.php and the other mainfile are 444, don't know what admin is suppose to be: file admin.php 777
file edituser.php 644
index.php 644
user.php 755

k from ipower site:
/home/users/web/b1581/ipw.username/public_html
from mainfile:
/home/users/web/b1581/ipw.username/public_html)

that's it everything matches fine, my gosh this is a nightmare..

9
leebrendalee
Re: Major problems all of a sudden

ok listen does this have anything to do with it, the error is this saying it cannot find but look at the directory:

in /hermes/bosweb/web158/b1581/ipw.username/public_html/index.php on line 43

but from ipower my directory is:
/home/users/web/b1581/ipw.username/public_html

does this mean my php script on ipower is wrong????????????

10
skenow
Re: Major problems all of a sudden
  • 2008/5/3 16:09

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Yep, it looks like you've been moved to the new platform (has a directory structure like /hermes/bosweb/web158/b1581/ipw.username/public_html/) and you are accessing the vdeck on the old platform. Been sorting that out for myself this morning - it took a lot of prodding from me to get 'tech support' to make the switch and they aren't real good at communicating. But, overall, the hosting packages are pretty good.

I'd connect with ftp to username.ipower.com and check the mainfile.php you find there. Make your root path match the path in the error message (/hermes/bosweb/web158/b1581/ipw.username/public_html). Then give it a go.

Login

Who's Online

353 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 353


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits