If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Error When Installing Fresh Zencart

Error When Installing Fresh Zencart

Locked

Started by zfraz on 10 Sep 2006, 9:37 PM · Views: 3,878

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
10 Sep 2006, 9:37 PM
#1
zfraz avatar

zfraz

New Zenner

Join Date:
Mar 2005
Posts:
43
Plugin Contributions:
0

Post #1 by zfraz

I am running Linux 10 with apache and Mysql.

I am getting following error when try to install zen

Warning: main(version.php): failed to open stream: No such file or directory in /srv/www/htdocs/zc_install/includes/application_top.php on line 25

Fatal error: main(): Failed opening required 'version.php' (include_path='/usr/share/php') in /srv/www/htdocs/zc_install/includes/application_top.php on line 25

Can anyone help. I have tried two different downloads, both are giving me errors.

Thanks

16 Sep 2006, 2:46 PM
#2
intuwishin avatar

intuwishin

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Post #2 by intuwishin

I'm getting something similar. I have had one successful install and can't see what the issue may be. my error is for:

Warning: main(../includes/classes/class.base.php) [function.main]: failed to open stream: No such file or directory in /home/piano4/public_html/medina/zc_install/includes/application_top.php on line 28

Warning: main(../includes/classes/class.base.php) [function.main]: failed to open stream: No such file or directory in /home/piano4/public_html/medina/zc_install/includes/application_top.php on line 28

Fatal error: main() [function.require]: Failed opening required '../includes/classes/class.base.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/piano4/public_html/medina/zc_install/includes/application_top.php on line 28

I checked line 28 and its looking for ../includes/classes/class.base.php and there isn't a file called that in the install package.

Where is the file? Or what is it reffering to?

16 Sep 2006, 3:44 PM
#3
intuwishin avatar

intuwishin

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Post #3 by intuwishin

I have changed the permissions for the zc_install folder and the includes folder. Nada, nothing, except error.

22 Sep 2006, 9:58 PM
#4
intuwishin avatar

intuwishin

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Post #4 by intuwishin

I checked the setup docs and I had to change the configuration file in the root includes folder. I realised there had been an issue in the transfer of files, about 90% ofthe files didn't make it across. Bizarre, I didn't notice any error from the ftp program. Anyhow. It's working, so perhaps if you get this message early on, chck all the files are there :)

24 Sep 2006, 1:45 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #5 by ajeh

Thanks for the update ...

Sometimes files will not transfer or load correctly ... when this happens you can get some really bizzar errors ...

Most will throw obvious errors on problems ... but many throw confusing errors just to mess with our minds ... :eek:

Utilizing a good FTP program helps ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

3 Oct 2006, 11:58 AM
#6
xplorer avatar

xplorer

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #6 by xplorer

i am using byethost free plan and when i am trying to upload zencart, the admin folder is not uploading. i changed the name of admin folder to abc, uploaded then tried to rename it but in vain.

where could be the problem. how can i install after changing the folder name to something else from admin.

instead of starting new thread i am posting here, hope i am right.
thanx
Raman

3 Oct 2006, 5:00 PM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #7 by vger

i am using byethost free plan

That's your problem!

Vger

4 Oct 2006, 5:14 AM
#8
xplorer avatar

xplorer

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #8 by xplorer

@vger

it is support forum i think.

i am asking for help and you telling me its my problem . i know it is problem thats why i am here.

on my system it is installing perfectly but on host it is not.

hope this time i will get help.
thanx

4 Oct 2006, 12:19 PM
#9
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #9 by vger

What I meant was - if you pay nothing for a service then you can expect nothing from a service. I was identifying the source of your problem - using free hosting which probably doesn't provide the facilities you need to be able to run Zen Cart.

Whilst this forum is here to support people trying to install and modify Zen Cart it's not here to try and find workarounds to the problems people have when using unsuitable servers and server facilities.

Paid hosting is so cheap these days that my suggestion is that you try a paid-for service, and then see if you have problems installing Zen Cart. Some of the really big companies will even give you a trial period, during which you can assess their services.

Vger

4 Oct 2006, 11:41 PM
#10
xplorer avatar

xplorer

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #10 by xplorer

@vger

Thanx for help

and sorry i misunderstood you.

But my problem is that i am studnet right now and using Zen-Cart right now for my assignment, thats why using free service. I tried osCommerce on byethost, it works perfectly. but i thought Zen-Cart is better that osCommerce so i finalized Zen-Cart for this purpose and it is not installing. i was able to access docs folder at the server.

so i thought it might need some alteration to configuration files.
it is installing perfectly at my home.

byethost is also very supportive.now they offered that they will install for me.

thanx again

5 Oct 2006, 1:25 AM
#11
xplorer avatar

xplorer

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #11 by xplorer

I just finished installing Zen Cart by chmodding everything to 777
but as soon as try to change permission of admin folder to 666
it vanished. seriously there is no admin folder.
what i want to know is what should be the permissions after installing Zen Cart.

Xplorer

5 Oct 2006, 1:40 AM
#12
drbyte avatar

drbyte

Sensei

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

Post #12 by drbyte

On a typical host, the permissions would normally be set to 755 for folders and 644 for files.
Your host may require different settings.

For some folders, you may require leaving files/folders set to 777 in order to use the admin area to manage some file edits (Define Pages Editor) or to upload product images.

.
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.

5 Oct 2006, 11:50 AM
#13
hemzet avatar

hemzet

New Zenner

Join Date:
Dec 2005
Posts:
4
Plugin Contributions:
0

Post #13 by hemzet

... I think, there's no need to name the admin folder 'admin'. Take a look at the 'Secure your ZenCart' page and follow the instructions there. Just configure the ZC to use another folder name as admin path...

Cheers