Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Mac Server / Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

Locked

Started by ms_paperlicious on 8 Jun 2007, 1:23 AM · Views: 6,770

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
8 Jun 2007, 1:23 AM
#1
ms_paperlicious avatar

ms_paperlicious

New Zenner

Join Date:
Jun 2007
Posts:
27
Plugin Contributions:
0

Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

I thought I was ready to rock this cart set-up but when I click the "I agree" in the license page I get:

Warning: main(includes/classes/class.installer_version_manager.php): failed to open stream: No such file or directory in /Applications/xampp/htdocs/zc_install/includes/modules/pages/inspect/header_php.php on line 86

Fatal error: main(): Failed opening required 'includes/classes/class.installer_version_manager.php' (include_path='.:/Applications/xampp/xamppfiles/lib/php') in /Applications/xampp/htdocs/zc_install/includes/modules/pages/inspect/header_php.php on line **86

**Anyone know what that means or how to fix? Line 86 of that file (inspect/header_php.php) says:
if (ZC_UPG_DEBUG==true) echo 'db-connection failed using the credentials supplied';

In config.php (both includes and admin) I have:
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'mydbusername');
define('DB_SERVER_PASSWORD', 'mydbpswd');
define('DB_DATABASE', 'paperlicious');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

I'm setting up on my Mac via localhost (or trying to anyway!) I know I have a db called "paperlicious" according to phpmyadmin and I think I assigned the user name and password to it correctly (how can you tell?)

Thanks in advance!

Amy:no:

Amy
Owner/Designer
http://www.paperlicious.com
Custom Printed Invites & Notes

Stylish. Affordable. Fun!

8 Jun 2007, 2:19 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

ms paperlicious:

main(includes/classes/class.installer_version_manager.php): failed to open stream: No such file or directory

Sounds like you're missing a file:
/zc_install/includes/classes/class.installer_version_manager.php

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

8 Jun 2007, 3:03 AM
#3
ms_paperlicious avatar

ms_paperlicious

New Zenner

Join Date:
Jun 2007
Posts:
27
Plugin Contributions:
0

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

thanks! So this is weird- when i looked in that folder path, it was missing. THEN I searched for the name and it came up... but it didn't have a .php extension.

So I changed it to .php and moved it and now I'll be moving on!

Woohoo!

Thanks so much! I guess I probably shouldn't get too excited yet but everytime I take another step I feel like maybe I CAN figure this out!

Cheers-
Amy

Amy
Owner/Designer
http://www.paperlicious.com
Custom Printed Invites & Notes

Stylish. Affordable. Fun!

9 Jun 2007, 3:26 AM
#4
ms_paperlicious avatar

ms_paperlicious

New Zenner

Join Date:
Jun 2007
Posts:
27
Plugin Contributions:
0

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

So i'm jamming along setting up my cart when I start to get a lot of "file not found" messages. Upon closer inspection I notice that any files over a certain length are all truncated. I know I read something about making sure my I could have long files names then i read another post that said it shouldn't be an issue, so I didn't investigate further.

I tried fixing a couple by typing in the longer name, but no luck. I know I can have really long file names b/c on other programs I have some pretty long names and it works just fine (not downloaded files though).

I googled and searched Mac forums on how to fix this issue but I can't find anything. I downloaded XAMPP which has some long file names and those downloaded just fine.

Any ideas?

Thanks! Amy:huh:

Amy
Owner/Designer
http://www.paperlicious.com
Custom Printed Invites & Notes

Stylish. Affordable. Fun!

9 Jun 2007, 3:27 AM
#5
ms_paperlicious avatar

ms_paperlicious

New Zenner

Join Date:
Jun 2007
Posts:
27
Plugin Contributions:
0

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

PS I'm on a Mac G5 running OS 10.4.9

Amy
Owner/Designer
http://www.paperlicious.com
Custom Printed Invites & Notes

Stylish. Affordable. Fun!

9 Jun 2007, 4:18 AM
#6
ms_paperlicious avatar

ms_paperlicious

New Zenner

Join Date:
Jun 2007
Posts:
27
Plugin Contributions:
0

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

Ok I've sort of fixed the problem. I manually added the rest of some of the file names plus .php and it seems to be working.

This one is not however, and I even downloaded a new cart and took that file from it and it still won't work. (It truncated my names again btw. grrr).

Warning: main(includes/modules/products_previous_next_display.php): failed to open stream: No such file or directory in /Applications/xampp/htdocs/admin/attributes_controller.php on line 897

Fatal error: main(): Failed opening required 'includes/modules/products_previous_next_display.php' (include_path='.:/Applications/xampp/xamppfiles/lib/php') in /Applications/xampp/htdocs/admin/attributes_controller.php on line 897

Amy
Owner/Designer
http://www.paperlicious.com
Custom Printed Invites & Notes

Stylish. Affordable. Fun!

9 Jun 2007, 12:22 PM
#7
ms_paperlicious avatar

ms_paperlicious

New Zenner

Join Date:
Jun 2007
Posts:
27
Plugin Contributions:
0

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

Nevermind- I figured it out. I was putting the file in the wrong place again. I guess I don't understand how to read the Warning/Failure messages yet.

Amy
Owner/Designer
http://www.paperlicious.com
Custom Printed Invites & Notes

Stylish. Affordable. Fun!

14 Jul 2007, 11:37 AM
#8
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

What are you using to unpack (uncompress) the zen cart archive after you've downloaded it?

(Older versions of Stuffit truncated filenames to 31 characters)

14 Jul 2007, 11:43 AM
#9
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

This is linked to your other problems (in your other posts).

It seems that whatever you're using to unpack the zen cart archive is truncating the filenames to 31 characters - that's why the '.php' was missing off class.installer_version_manager.php (count the characters :) )

14 Jul 2007, 6:37 PM
#10
ms_paperlicious avatar

ms_paperlicious

New Zenner

Join Date:
Jun 2007
Posts:
27
Plugin Contributions:
0

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

I think you just solved my problem! I do have an older version of StuffIt.

Good to know. I guess I will finally download a newer one when it asks me next time. :)

Thanks!!!

Amy
Paperlicious LLC

Amy
Owner/Designer
http://www.paperlicious.com
Custom Printed Invites & Notes

Stylish. Affordable. Fun!

14 Jul 2007, 7:06 PM
#11
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Not so fast.. can't get past the license page b/c of this error! Stuffit Problem !!!

Even the later versions of Stuffit can be a bit flaky sometimes - best to download the .zip version of the zen cart archive and use the standard OS X zip utility to un-compress it. That works fine every time.

Alternatively, there's a free OS X utility called 'Compress' that will pack/unpack most common formats including .gz - you can find it on https://www.versiontracker.com.