MODX Rev setup not working in MAMP PRO - mamp

I'm still having issues with setup MODX Rev 2.5.8 in localhost as I have already set up database via mySQL, please see screenshot:
https://i.stack.imgur.com/EjdZU.png
How do I fix this issues?
Thanks,
Shaun.

Related

Xcart upgrade from 4.6.2 to 4.7.5

I am trying to upgrade my Xcart 4.6.2 to 4.7.5. I followed the documentioan exactly as mentioned here http://help.x-cart.com/index.php?title=X-Cart:Upgrading#Upgrading_from_version_4.7.0_or_later
However the software is updated and the db remains the same. I said because when I check http://wwww.example/VERSION it says 4.7.5 and when I check http://www.example.com/include/version.php it says X-Cart DB Version: 4.6.2 GOLD.
I did the following steps :
made a development copy of live site in server.
made a fresh installation of the xcart 4.6.2 and pointed the db to the development copy
Downloaded the 4.6.2-4.7.2 upgrade package, extracted it to the root and ran the upgrade from backend. No errors.
I checked http://wwww.example.com/VERSION it says 4.7.2 and http://www.example.com/include/version.php it says X-Cart DB Version: 4.6.2 GOLD
Do you guys faced such issue? Your advises are very much appreciated. Thanks in advance.
Most likely something goes wrong while applying the sql patch (upgrade/4.6.2-4.7.2/patch.sql) because
UPDATE xcart_config SET value = "4.7.2" WHERE name = "version";
is at the very end of it.
So, please, check the following logs for anything out of the ordinary:
var/upgrade/4.6.2-4.7.2/patch.log
var/log/x-errors_sql-.php

Install YII2 on Centos 7

I read that it was impossible to install yii2 on a standard hosting platform (redhat, centos...) without deleting the AssetManager.
And install is lock with it. Access refused, permission denied.... Despite the rights 777 on the assets folder.
And in default way, hack code, disable control like (is_writable) to allow continued the install process to congratulation, but without css ....
But I can't modify all the code , to use it?
They're a lot of issue about assetmanager.
I tried yii1 few years ago, and it was wonderful framework... But everything is permitted under windows. Someone tried to install it under redhat, fedora, Centos.
There is a specific configuration ... Or yii2 not builted and designed for theses environments ?
Because i found tuto about laravel 5.1, Zend 2 since 2013... But nothing about Yii2, and only one... about Yii1... on this hosting OS.
Yii2 is ready for professionnel standard hosting environnement or is just for hobbist with Wamp under Windows ? (Online tuto is in majority on this OS, with Wamp...).
And maybe for that, it's work fine... like i test under windows
Thank you for the links. I had read
Finally I found the answer, which is never explained in the tutorial above (because often disabled and the module is not present in Ubuntu or Debian)
It's SELinux security. To install Yii2 there are the following commands:
semanage fcontext -a -t httpd_sys_rw_content_t 'each folder writable'
setsebool -P httpd_unified 1
Without this open rignt, you can't install Yii2
All what Yii 2.0 requires is a Web server supporting PHP 5.4 or above.
( currently not PHP 7 due to reserved word conflict that will be solved in future releases )
And yes 5 stables versions ready for production has been released, currently Yii 2.0.5
Here is a quick example about how to install Yii2 with CentOS6 which has nothing different from what is already described in the official docs.
If you know any CentOS related issue please post them and we will discuss answers, because sincerely i just did few searches and didn't found any besides few wrong apache or nginx configurations or missing packages like this CentoOS7 case. Otherwise if you need a pre-configured & working VM with Yii2 and CentOS 7, then you may check this vagrant repo.

Update Centos Machine 5.10 to 6.5

I want to update my dedicate Centos Machine, which installed WHM. I want to know that if I do update the OS, there any changes on WHM. Like any default Setting changed? or any other Problems.
So please suggest me that right way of update Centos without any problems, because many websites hosted on this Server.
Thanks
Pankaj Gupta
Pankaj, because there are many changes in a major CentOS release you cannot upgrade from 5.10 to 6.5. You need to put together a migration plan. First install CentOS 6.5 on another server, configure httpd and php/passenger/whichever and test that each hosted website is working properly. Then you can reinstall and reconfigure everything.
Give CentOS 7 a try.
Upgrading is not possible and even if you try around doing some search you will end up wasting lot of time by fixing the dependency related errors etc. So its always better and safe to do a fresh install of CentOS 6.5 and then migrate the sites.

Upgrading SugarCRM

I have a problem when upgrading Sugarcrm from 6.2 to 6.3 version. When I upgrade a local Sugarcrm installation it works but when I start upgrading my Sugarcrm 6.2 site and uploading the upgrade package it doesnt upload.
The same thing works on local server rather than the remote server of same version.
If you are using the in-app upgrade wizard, perhaps this blog post may help...
http://developers.sugarcrm.com/wordpress/2011/04/27/howto-get-around-file-upload-size-limit-issues/
Upgrade wizard has lot of limitation. Try silent upgrader. That will help

Ruby 1.9.2 + Rails 3.0.3 + postgresql + windows vista

I would like to install Ruby1.9.2/Rails3.0.3 on my Windows Vista machine with PostgreSQL 9.0 as my database.
I have seen many different instructions on the web as to what works and what does not work.
Can anybody tell me which gem(s) I must install to get Ruby1.9.2/Rails 3.0.3 to drive PostgreSQL 9.0 on Windows Vista?
I appreciate any help you can give me.
I made a how-to for exactly this topic on:
http://netpie.wordpress.com/2011/03/17/setting-up-rails-3-with-postgresql-on-windows/
Please let me know if it worked for you and tell me where you had problems so that I can improve this how-to.
Best regards
Here you can get the Ruby 1.9.2 installer
http://rubyforge.org/frs/?group_id=167
Just click on it and it does all the work, after that go for Rails
Rails is easy, just download and follow the site instructions
http://rubyonrails.org/
About PostGre, you are on your own because I never used it...
But if you follow the instructions on the Rails web site you should be fine, they point the right ways to connect to several DBs