Zen Cart Logo
Forums / General Questions / Moved the files then got a big problem T_T help!

Moved the files then got a big problem T_T help!

Locked

Views: 1,049

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
3 Apr 2008, 11:43 PM
#1
love2bnice avatar

love2bnice

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Moved the files then got a big problem T_T help!

Hi there, I'm a new zen user but I figured many stuff out..
I have been building my ZC behind the scenes here:
http://www.mysite1.com/shop/

I am nearly ready to go live with it here:
http://www.mysite1.com/

so I checked and found this:
https://www.zen-cart.com/tutorials/index.php?article=122

done everything in it but I'm getting this in the main site:

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/.ruland/yabeladvd/yabeladvd.com/index.php on line 26

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/.ruland/yabeladvd/yabeladvd.com/index.php on line 26

Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/.ruland/yabeladvd/yabeladvd.com/index.php on line 26

and getting this in the admin section:

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/.ruland/yabeladvd/yabeladvd.com/admin/index.php on line 23

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/.ruland/yabeladvd/yabeladvd.com/admin/index.php on line 23

Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/.ruland/yabeladvd/yabeladvd.com/admin/index.php on line 23

Can anyone please help me? nothing is showing in my website now but that :cry:
Thanx in advance and sorry if I'm in the wrong section.

5 Apr 2008, 10:28 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Moved the files then got a big problem T_T help!

love2bnice:

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Permission denied

Seems you're having some permissions problems.

5 Apr 2008, 10:35 PM
#3
love2bnice avatar

love2bnice

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: Moved the files then got a big problem T_T help!

all my files got the 644 permission.. is that wrong?

5 Apr 2008, 10:53 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Moved the files then got a big problem T_T help!

644 is normally correct for most files, and thus one would expect that to be fine.
What are the permissions on your "includes" folder?

Something is causing a "permission denied" error. Whatever "that" is, is likely the key to your problem.
With most traditional webservers, simply uploading the files already pre-establishes the correct permissions on the files and folders.
Thus, if you've manually changed the permissions, or if your webserver has an odd configuration, you could be running into problems that are harder to explain or diagnose.

It may be prudent to involve your hosting company's tech support team.

6 Apr 2008, 12:59 AM
#5
love2bnice avatar

love2bnice

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: Moved the files then got a big problem T_T help!

Hmm.. i checked and changed ALL my files and folders to 644 and still nothing changed :
i'm guessing i will have to start from scratch :(

6 Apr 2008, 2:56 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Moved the files then got a big problem T_T help!

I wasn't telling you to change your folders to 644 ... in fact, folders are typically set to 755.

Perhaps starting fresh may be a good next step.