John Moore Posted January 26, 2010 Share Posted January 26, 2010 I'm getting the following PHP error on the welcome page, under "Choose the installer language" when trying to install the latest downloaded version:prestashop_1.2.5.0.zipI did read your install hints and yes, the php version is correct (5).. I did set the permissions as indicated, but that can only be done in their "File Manager" and because of that it is very tedious.. I may have missed something..Warning: Invalid argument supplied for foreach() in /home/content/60/5538060/html/cart/install/index.php on line 191Which is this line...<?php foreach ($lm->getAvailableLangs() as $lang):?>On the top of the page is the following PHP errors:Warning: simplexml_load_file() [function.simplexml-load-file]: /home/content/60/5538060/html/cart/install/langs/list.xml:15: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0x88 0xDF 0x61 0x69 in /home/content/60/5538060/html/cart/install/classes/LanguagesManager.php on line 21Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/content/60/5538060/html/cart/install/classes/LanguagesManager.php on line 21Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/content/60/5538060/html/cart/install/classes/LanguagesManager.php on line 21Rather than dig through the code that I'm unfamiliar with.. Could someone direct me as to what this is choking on.. I'm assuming I still have some permission issue incorrect..(I did got to the verify page and it indicated the permissions were correct....but...???)Thank you! Link to comment Share on other sites More sharing options...
John Moore Posted January 26, 2010 Author Share Posted January 26, 2010 I just did a complete re-install after completely removing the previous install. Followed all directions on document:http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/#Install_PrestaShopand reviewed the PHP setting specified in the document:http://www.prestashop.com/wiki/activate_PHP5/Unfortunately I get the exact same errors as provided previoiusly..Please, does anyone have any pointer on this...Thanks..John.. Link to comment Share on other sites More sharing options...
John Moore Posted January 30, 2010 Author Share Posted January 30, 2010 I worked around the previous problem by opening the file:/home/content/60/5538060/html/cart/install/langs/list.xmland backspacing the "c" in Frances.. Now I'm stuck on the Shop configuration page with the Javascript error:"junk after document element"at..http://www.everlastingpetmemorials.com/cart/js/jquery/jquery-1.2.6.pack.js (line 11)The parameters sent :http://www.everlastingpetmemorials.com/cart/install/model.php?_=1264812140146&method=checkShopInfos&isoCode=en&infosShop=Everlasting Pet Memorial&infosFirstname=Roger&infosName=BORST&[email protected]&infosPassword=22222222&infosPasswordRepeat=2222222222&infosNotification=on&infosWL;[]=en&infosDL;[]=en&infosMailMethod=native&smtpSrv=smtp.&smtpLogin;=&smtpPassword;=&smtpPort=25&smtpEnc=off&mailSubject=Congratulations, your online store is now ready to open!&isoCodeLocalLanguage=enResponse is: Warning: preg_match() [function.preg-match]: Compilation failed: invalid UTF-8 string at offset 19 in /home/content/60/5538060/html/cart/classes/Validate.php on line 138 Warning: preg_match() [function.preg-match]: Compilation failed: invalid UTF-8 string at offset 19 in /home/content/60/5538060/html/cart/classes/Validate.php on line 138 Obviously the root problem is not resolved and that is the there is a miss-match between the character set expected and the character set used..Could this be a PHP setting that is off.. or...??Please help..!!!! Link to comment Share on other sites More sharing options...
Guest Posted January 31, 2010 Share Posted January 31, 2010 I am using the godaddy hosting plan (linux) with PS1.3.0.1, having no problem in the install the PS.What's your point? You cant open the PS index? or some else? Link to comment Share on other sites More sharing options...
John Moore Posted January 31, 2010 Author Share Posted January 31, 2010 The "point" is that on the "Shop Configuration" page in the install sequence the "Next" button does not respond.. I posted the Javascript error which appears to be caused by an error/problem in the Ajax response from the server..preg_match() [function.preg-match]: Compilation failed: invalid UTF-8 string at offset 19.. which is similar to the error I was getting at the very beginning (see first post) concerning the UTF-8 encoding error. So far I have "assumed" it has to do with a PHP configuration issue because I can install the EXACT save version on MY hosting servers (of which I had compiled and installed PHP to my specification). I just have not been able to determine exactly what configuration issue this is tripping over and if so how to "fix" it..I also did a search on posts here relating to "GoDaddy" and found a lot of similar issues with others trying to install PShop.. This makes me think that this is not just "me"... but a more pervasive incompatibility issue between PShop and GoDaddy's PHP configuration.Given that GoDaddy is the largest Registrar and hosting company world wide (according to articles I've read) this would seem that there should be some more attention to this problem..So far, silence from the community..Thanks for responding..John... Link to comment Share on other sites More sharing options...
John Moore Posted February 3, 2010 Author Share Posted February 3, 2010 I managed to finally get PShop installed on GoDaddy.. Here is what I had to do:1) Install PShop on a different hosting environment.2) Backup (export) the database3) Zip up the PShop files on that server.4) Import the database to the target hosting service.5) Upload files from unzipped folder to GoDaddy6) Edit "settings.inc.php" to point to new database and settings. Also remember to adjust the path if needed.7) Rename or delete "install" folder8) Rename Admin folder9) Login Admin and test..At this point it seemed to be running ok... I did find some problems with the "Validate.php" that I had to fix (posted on another thread). Once I made those corrections I was able to do all of the basics without further issues..I hope this helps save someone else a lot of time..John.. Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2010 Share Posted February 4, 2010 When i setup the Prestashop for the first time, i had many problems too.And i finally solved all that basic problems by the forum and WIKI and W3C school~Enjoy what you have done for the PS all by yourself! ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now