Guest Brivtech Posted March 13, 2008 Share Posted March 13, 2008 When I got Windows Vista, Wamp wouldn’t work, in fact, JSAS was one of the few solutions that did. However, times move on, and JSAS is now out of date with its PHP, and it’s just too fiddly to upgrade the bits and pieces - Very little support for it. So, back to WampServer, and it’s easy to set up, and works a treat. Nice and easy to configure and upgrade as well, and of course, it works on Vista, and CC4.2.x, because of that updated php version. NOTE: WampServer will not run with Skype, as there is a port conflict. Close Skype before starting WampServer! Installing WampServer 2.0b onto your PC… (I’ll make updates for a flash card when I find my card reader!) Download - Go to: http://www.wampserver.com/en/ - Click on under Latest Release to download the software (Latest release at time of writing is 2.0. . - The server I was downloading from was very slow. Be patient, go cook supper, or take your work colleagues out to lunch at a nice local restaurant. Install - Open the downloaded file - It’s an EXE, so there’s no need for any decompression. - I get a Setup window opening with a WAMP5 1.x message. If you have already installed WAMP5 1.x, follow the message, otherwise, click YES to continue install. - Setup 2 - NEXT > - Accept Agreement - NEXT > - Choose the setup location. If you want to install onto your hard drive, use the default (c:\wamp). If you want to install onto a flash memory card (thumb drive?), change the drive letter to that of the card. NEXT > - I de-selected Quick Launch (I don’t want it auto-loading when I turn on my computer), and I selected Create a Desktop, so I can clutter the desktop with another icon. - NEXT > - Summary - INSTALL (Or go back to alter anything you’re not happy with) - Follow through on any warnings (If you had JSAS and chose the default location, you’ll get override messages). I also got default a browser message. - PHP mail parameters - Left the defaults in - Can be changed later. NEXT > - Completed Setup - FINISH - Wait for it, you’re not finished yet, there’s more to do…. Install Ioncube - For some reason, Zend won’t work straight off, but that’s not a problem, we can use ioncube. If anyone finds a way of using Zend, please post an update. - Go to: http://www.ioncube.com/loaders.php - Download the Windows (x86) zip file. - Extract the file - It contains a folder called ioncube and various files inside with .so extensions. - Copy that ioncube to the WampServer’s www folder (This is the root of your store)Don’t think you’ll get away with it that easy - We need to tell the system that it has got ioncube loaders loaded, and where to find them…. - In the C:/wamp/bin/apache/apache2.2.8/bin/php.ini file, add this bit of code at the top (Assuming your installation is in the same place): [ioncube] extension_dir = .\ zend_extension_ts = C:\wamp\www\ioncube\ioncube_loader_win_5.2.dll NOTE: Changes made to php.ini require the wampserver to be restarted before they are seen. Install CubeCart!!! Time to copy across the CubeCart system files. Copy the decompressed files and folders into c:\wamp\www\ Start the WampServer server: START > Programs > WampServer > start WampServer Note, not much happens when you start it, apart from a little icon appearing in the system tray. Click the icon, and select Localhost - it opens your offline server’s homepage. Database Hostname: localhost Database Name: cubecart_database Database Username: root Password - Leave blank Fill out the rest as normal, continue following the setup instructions according to CubeCart. Let me know if you experience any problems, I haven't finished testing this yet. :) Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted March 16, 2008 Share Posted March 16, 2008 So couldnt get this working using wamp....used xamp and worked fine....not sure what the difference is as the apache, php and mysql versions are the same....perhaps its my *cough* vista installation!! Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 16, 2008 Share Posted March 16, 2008 Nope, mine is working fine on both Vista and XP. What problems did you get? I did have to make some minor tweaking. Quote Link to comment Share on other sites More sharing options...
Guest waterman1 Posted March 16, 2008 Share Posted March 16, 2008 if you install cubecart and everything and get your store the way you want... after can you publish it perfectly to the web? Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 16, 2008 Share Posted March 16, 2008 There's no reason why not, You would have to make some changes to the config file, just as you would when moving from one server to another. It would probably be handy keeping the database names the same for convenience when you backup the SQL for transfer. Be aware that there are a few things that may not work properly on a local wampServer, but these aren't too important: SEO - The .htaccess plays havoc until you delete it SSL - Not included. On the SEO, I'm sure that a play around in the configuration is all that's needed, but I personally haven't had time to look into this deeper. With the SSL, I know that this is possible, although how at this moment defeats me. Quote Link to comment Share on other sites More sharing options...
Guest waterman1 Posted March 16, 2008 Share Posted March 16, 2008 There's no reason why not, You would have to make some changes to the config file, just as you would when moving from one server to another. It would probably be handy keeping the database names the same for convenience when you backup the SQL for transfer. Be aware that there are a few things that may not work properly on a local wampServer, but these aren't too important: SEO - The .htaccess plays havoc until you delete it SSL - Not included. On the SEO, I'm sure that a play around in the configuration is all that's needed, but I personally haven't had time to look into this deeper. With the SSL, I know that this is possible, although how at this moment defeats me. alright well im not finding php.ini.... i don't understand why? Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 17, 2008 Share Posted March 17, 2008 No one has mentioned php.ini here. :yeahhh: Quote Link to comment Share on other sites More sharing options...
Guest gavjof Posted March 27, 2008 Share Posted March 27, 2008 Probably a silly question but I'm guessing you need to already have a CC4 License to install it using Wamp? Software License Error #5 Your license key has expired. Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 27, 2008 Share Posted March 27, 2008 That's correct. Same applies for copyright removal. It shows as "http://localhost" in the CubeCart customer control panel as the website address. Quote Link to comment Share on other sites More sharing options...
burgensteen Posted March 30, 2008 Share Posted March 30, 2008 CC install step 3 just keeps telling me that database passwords dont match ?? I have not done anything other than the above instructions ?? Is there a default password on install of wamp ?? Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 30, 2008 Share Posted March 30, 2008 Did you leave all passwords blank? If that doesn't work, type in a space, but when I set it up, I left passwords blank. EDIT: We resolved it - The wampserver needs to be restarted before changes to php.ini are seen. I'll update that in the original post. Quote Link to comment Share on other sites More sharing options...
burgensteen Posted March 30, 2008 Share Posted March 30, 2008 Thanks Brent, Your a star You need to ask Al for a rise :rolleyes: Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 30, 2008 Share Posted March 30, 2008 HA! I don't even get paid - I do this purely out of my passion for CubeCart! :rolleyes: Quote Link to comment Share on other sites More sharing options...
markscarts Posted March 25, 2009 Share Posted March 25, 2009 Super, was hoping to find a post like this, since I've never gotten v4 to work with my wamp5. Have now installed the new wampserver 2 and will try again! An aside - I had probs with running skype and wamp5 together and resolved it by poking around in skype till I found where to change the port setting. wampserver 2 started straightaway with skype running. I don't remember where I found the setting, but you can find a place in skype settings to change the port. Quote Link to comment Share on other sites More sharing options...
markscarts Posted March 25, 2009 Share Posted March 25, 2009 OK, I found it! Under options > advanced > connections in skype . . . I'm using port 62420 for incoming . . . And I have unchecked using port 80 and 443 as alternatives. Quote Link to comment Share on other sites More sharing options...
Guest verra99 Posted June 11, 2009 Share Posted June 11, 2009 Thanks for your posts. They are really very cool, very wonderful. simulationcredit Quote Link to comment Share on other sites More sharing options...
Guest Jennifervn Posted July 3, 2009 Share Posted July 3, 2009 Thanks for your post. It’s really useful . simulationcredit Quote Link to comment Share on other sites More sharing options...
Guest dtmswebmaster Posted August 2, 2009 Share Posted August 2, 2009 - For some reason, Zend won’t work straight off, but that’s not a problem, we can use ioncube. If anyone finds a way of using Zend, please post an update. I noticed every time that I installed Zend Optimizer it would edit the php.ini (for Window XP users, this is normally located in C:\Windows\) like this: [Zend] ;apache2triad zend optimizer config zend_extension_ts="D:\Zend\lib\ZendExtensionManager.dll"zend_optimizer.enable_loader = 0 zend_optimizer.optimization_level = 15zend_extension_manager.optimizer_ts="D:\Zend\lib\Optimizer-3.3.0" If this is also the problem for you, edit it to show like this: [Zend] ;apache2triad zend optimizer config zend_extension_ts="D:\Zend\lib\ZendExtensionManager.dll" zend_optimizer.enable_loader = 1 zend_optimizer.optimization_level = 15 zend_extension_manager.optimizer_ts="D:\Zend\lib\Optimizer-3.3.0" Save file then restart your webserver. Hope this helps someone. Quote Link to comment Share on other sites More sharing options...
Guest mwalls67 Posted August 26, 2009 Share Posted August 26, 2009 I'm sure this is a really simple fix but its been killing me for the past 3 days. I have it installed but I cannot view the actual site because of this error Deprecated: Function set_magic_quotes_runtime() is deprecated in G:\hotdeals4less\www\ini.inc.php on line 114 Thanks in advanced for any help with this Quote Link to comment Share on other sites More sharing options...
magi Posted November 25, 2009 Share Posted November 25, 2009 I should not put the code in the right place, or should it be placed exactly cart4 I use a cube, I really need d, installed with WampServer to then update to safety. magi Quote Link to comment Share on other sites More sharing options...
Guest lovejungle Posted February 4, 2010 Share Posted February 4, 2010 Hey guys I'm trying to install a local host on my Mac so I can play around with the my store design offline. www.lovejungle.com/store After much googling, I've just about got it working apart from this error which comes up when I try to access this page(or any page): http://localhost:8888/store/admin.php - - - - - - - - - Site error: the file /Applications/MAMP/htdocs/store/admin_enc_ion.php requires the ionCube PHP Loader ioncube_loader_dar_5.2.so to be installed by the site administrator. - - - - - - - - - Now, I've googled what that means, and I found this post http://www.vbseo.com/f77/ioncube-php5-1-greater-12934/ "If your server Has a newer php version than 5.0, you need to get the proper file from the ioncube website and load it into the php.ini." Now my local host is running version: 5.1.37 However, Cpanel on https://login.cunina.lunarservers.com:2083/...d/lp/index.html Is only running 4.4.9 QUESTION : : If I go ahead and install this ioncube for PHP 5+ on my localhost will it ruin the files once they're loaded back onto the live Cunina server ?? (there is an option to "add php 5 to my account" in the cpanel on Cunina) Your wisdom would be greatly appreciated!! Quote Link to comment Share on other sites More sharing options...
Guest dtmswebmaster Posted March 29, 2010 Share Posted March 29, 2010 QUESTION : : If I go ahead and install this ioncube for PHP 5+ on my localhost will it ruin the files once they're loaded back onto the live Cunina server ?? (there is an option to "add php 5 to my account" in the cpanel on Cunina) Your wisdom would be greatly appreciated!! No. It's only needed as a security measure to decrypt the license check file, so that people can't override the licensing system. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2010 Share Posted June 2, 2010 Hi First of all thank-you for such a detailed tut. Now this is my last attempt at trying to install cc4 locally in the past i've used ravenswood as a server and it was quick and easy... but can't do it for cc4 because it has an older php version. Anyways, followed the instructions to the tea,,,, strangely enough i've installed previously xampp, easyPHP etc. and i get always stuck here..... with this notice after i've installed cc4. Ok > edited to say that i changed the [ioncube] extension_dir = .\ zend_extension_ts = C:\wamp\www\ioncube\ioncube_loader_win_5.3.dll and stopped all services, rebooted win7 went to http://localhost/ and got *nada* > nothing? no message no nothing? just a blank page ie. http://localhost/ oh and here is the globals Zend Optimizer not installed This file was encoded by the Zend Guard. In order to run it, please install the Zend Optimizer (available without charge), version 3.0.0 or later. Seeing this message instead of the website you expected? This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message: The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server. Note: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to Zend Technologies. What is the Zend Optimizer? The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP's intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster. In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard. The Zend Optimizer is a free product available for download from Zend Technologies. Zend Technologies also developed the PHP scripting engine, known as the Zend Engine. I have no clue what i am doing wrong!!!!! By the way on the last step of installing cubecart, you need to add a password as it won't let me pass to completion ;-) Even though i restarted all services prior, what i did though is i used a space in p/word ;-) Any any help would be much much appreciated as i'm totally exhausted of trying to get this to work. Thanks andrea <?php $glob['adminFile'] = 'admin.php'; $glob['adminFolder'] = 'admin'; $glob['dbdatabase'] = 'cubecart_database'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = ''; $glob['dbprefix'] = ''; $glob['dbusername'] = 'root'; $glob['encoder'] = 'ioncube'; $glob['installed'] = '1'; $glob['license_key'] = 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx'; $glob['rootRel'] = '/'; $glob['storeURL'] = 'http://localhost'; ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2010 Share Posted June 3, 2010 Nevermind, got XAMPP all configured instead ;-) Quote Link to comment Share on other sites More sharing options...
Guest glassman Posted October 31, 2010 Share Posted October 31, 2010 Using Ioncube. Still getting Zend not installed message. Have restarted the server 18 times. Have this at the top of php.ini (i've also used 5.2.dll as well to no avail) [ioncube] extension_dir = .\ zend_extension_ts = C:\wamp\www\ioncube\ioncube_loader_win_5.3.dll ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; ; PHP's initialization file, generally called php.ini, is responsible for ; configuring many of the aspects of PHP's behavior. ; PHP attempts to find and load this configuration from a number of locations. ; The following is a summary of its search order: .... ..... ....... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.