If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Shipping Modules / error admin Warning: require(includes/application_top.php

error admin Warning: require(includes/application_top.php

Locked

Started by unusualfinds on 20 Feb 2012, 6:05 PM · Views: 3,024

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
20 Feb 2012, 6:05 PM
#1
unusualfinds avatar

unusualfinds

New Zenner

Join Date:
Nov 2009
Location:
canada
Posts:
56
Plugin Contributions:
0

Post #1 by unusualfinds

Hi,
I hope i went to right section. I find this site confusing but it is probally just me. I downloaded the canada post shipping module and
thought i was to put it in "admin to admin-includes to includes etc. but when i went to view my webpage i updated the template then checked the shipping module to see if it was there and it was not so i deleted each file and when i went to go back to my zc_admin i have error messages and cannot get it? my error messages are
Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/rainb342/public_html/zc_admin/index.php on line 10

Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/rainb342/public_html/zc_admin/index.php on line 10

Fatal error: require() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rainb342/public_html/zc_admin/index.php on line 10

i suppose i deleted the wrong file and probally have to start from scratch agin with reloading my zencart from fatatico but wanted to check first if I could get help thanks rainbowfire.ca:flex:

20 Feb 2012, 11:41 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

Those error messages are telling you that your /admin/includes/application_top.php file is missing from the server.
Why did you delete that?
Or why did you perhaps delete the entire /admin/includes/ folder?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Feb 2012, 1:03 PM
#3
unusualfinds avatar

unusualfinds

New Zenner

Join Date:
Nov 2009
Location:
canada
Posts:
56
Plugin Contributions:
0

Post #3 by unusualfinds

Well thats not good. ANy suggestions on how to fix this. step by step? thanks

21 Feb 2012, 4:20 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

  1. Login to your FTP
  2. Fix whatever files are missing.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Feb 2012, 8:16 PM
#5
unusualfinds avatar

unusualfinds

New Zenner

Join Date:
Nov 2009
Location:
canada
Posts:
56
Plugin Contributions:
0

Post #5 by unusualfinds

thats easy for you :) i do not know know how to fix it. i suppose i open my includes file and add some code to line 10? not sure what to add?

21 Feb 2012, 9:21 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

Your problem has nothing to do with "line 10". You're looking at the end of the error message, instead of the beginning of the message. The beginning is telling you what the problem is, and the end of the message is telling you what part of the code discovered the problem.

A clean fresh install of Zen Cart puts all the required files in the right places.

Apparently you've done something to delete some of those files, or you've dragged-and-dropped them into some other folder where they don't belong.

I suggest your first approach should be to put back whatever files you've deleted or dragged to the wrong place.

If that's puzzling to you, or doesn't solve your problem, here's the most efficient place to start: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Feb 2012, 2:29 AM
#7
unusualfinds avatar

unusualfinds

New Zenner

Join Date:
Nov 2009
Location:
canada
Posts:
56
Plugin Contributions:
0

Post #7 by unusualfinds

If i do a fresh install of zen cart do i loose all my website and have to redo the mail, shipping all info etc?

22 Feb 2012, 4:01 AM
#8
unusualfinds avatar

unusualfinds

New Zenner

Join Date:
Nov 2009
Location:
canada
Posts:
56
Plugin Contributions:
0

Post #8 by unusualfinds

i tried comparing many files and do not see anything strange. :(

22 Feb 2012, 4:21 AM
#9
unusualfinds avatar

unusualfinds

New Zenner

Join Date:
Nov 2009
Location:
canada
Posts:
56
Plugin Contributions:
0

Post #9 by unusualfinds

Now i have a warning across top of my web page.
I was in ftp ad was ftping file on file in hope they would repair it and this happened?

Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels.

22 Feb 2012, 5:22 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #10 by drbyte

Zen Cart installation involves two parts: the PHP files and the database.
Your problem, up until your last post, suggested that your difficulties are a result of damaged PHP files. So, replacing the PHP files from a backup made before you started changing things in the first place, would be a good step.

And your new database error message is somewhat alarming, but initially still suggests that it's a PHP file problem, since it's using the PHP files to check the database version.

So ... I have NO idea what you've done to the files on your server, nor to your database, and no clue what sort of backup strategy you have for your site.

But, clearly you need to do some cleanup in order for things to work again.

I've already given you the information about what I would do if I was in your shoes.

But I can't tell you exactly what to do, because I don't know exactly what you've done to your site. I can tell you to make sure you have good backups, and then replace the files on your server. But judging from what you're saying so far perhaps you should hire someone to help you with your specific problems ... ideally someone who knows how to make sure you don't lose any data in the process.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Feb 2012, 2:47 PM
#11
unusualfinds avatar

unusualfinds

New Zenner

Join Date:
Nov 2009
Location:
canada
Posts:
56
Plugin Contributions:
0

Post #11 by unusualfinds

Hi
thanks. I was trying the winmerge and cannot figure that out. I feel o use zencart i almost need to take a course or try a different cart

23 Feb 2012, 3:29 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #12 by drbyte

I'm quite certain based on your previous posts in this discussion that your problem is user-error while using your FTP program to manipulate files.

Changing carts isn't going to fix that.

I already explained that you can restore your files from a backup, assuming you make backups before you change things.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Apr 2012, 6:50 PM
#13
aestheticdesign avatar

aestheticdesign

New Zenner

Join Date:
Aug 2011
Posts:
29
Plugin Contributions:
0

Post #13 by aestheticdesign

Make sure that you're installing the files for the add in module in the right folder. If you changed the admin directory to another name during the original install, you need to make sure that you're using the renamed directory and not admin.

I had forgotten that I had renamed the admin directory and I was getting this error because I was loading the files in the wrong directory. I was trying to install Easy Populate but it's probably the same problem with the module you're trying to install.