prblm avec l'installation de module MCMS

33 views
Skip to first unread message

php

unread,
Apr 6, 2011, 11:33:03 AM4/6/11
to Pluf Users
salut tous le monde,
je veu intégrer le module MCMS dans la partie admin ,,j ne c pas
cmt,,s'il vous plaît pouvez vous me donner des directives.
merci infinement

Jakub Viták

unread,
Apr 6, 2011, 4:01:35 PM4/6/11
to pluf-...@googlegroups.com
Hello.

If you are talking about http://code.pluf.org/p/mcms/ then probably I
could help you.

Could you please describe your problem in english?

Anyway this project - MCMS - in link above, is more close to hello
world than to working application.
So if you want to use it you probably should extend it or rewrite it at all.

Sincerely, Jakub V.

2011/4/6 php <aida...@yahoo.fr>:

> --
> You received this message because you are subscribed to the Google Groups "Pluf Users" group.
> To post to this group, send email to pluf-...@googlegroups.com.
> To unsubscribe from this group, send email to pluf-users+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pluf-users?hl=en.
>
>

php

unread,
Apr 7, 2011, 7:37:16 AM4/7/11
to Pluf Users

hello,
thank you for your response;
i have configured the file of mcms.php and index.php,but the
application MCMS not installed,,why i should rewrite MCMS ???and can
you explain me please how extend it??

php

unread,
Apr 7, 2011, 7:42:57 AM4/7/11
to Pluf Users

hello;
I seen the application integrate MCMS with back office admin pluf,,
can you tell me how do it or what are the Directive
thank you very much

php

unread,
Apr 7, 2011, 10:23:10 AM4/7/11
to Pluf Users
hello,

l have error <<Error: Missing what to do or config file.>>when i
execute commande php migrate.php -i-a-d --conf=/conf/mcms.php
can you help me please


Jakub Viták

unread,
Apr 7, 2011, 4:01:24 PM4/7/11
to pluf-...@googlegroups.com
Hi.

I will give you all information you need - but you have to wait until
Saturday/Sunday.

Until then I am out of time and to write you some tutorial I need to
setup it myself.
(I haven't plain installation right now).

I don't know if it is still compatible with latest Pluf, etc etc.

And if you want pluf admin support (Auto Admin ~ AA),
all you have to do is download it also, do config setup and proper migration.

Therafter you will have direct access to DB trough AA.

With extend/rewrite I mean that there is not solved named urls for articles
and news is not completed either. But code is quite simple so some advanced
proggramer will have same application written from scratch in very short time.

If you need stick with Pluf - then probably last option should be
best. Or you will end up in that anyway :)

Regards, Jakub V.

2011/4/7 php <aida...@yahoo.fr>:

php

unread,
Apr 9, 2011, 3:54:13 AM4/9/11
to Pluf Users


Hello,
thank you i'am waiting for some solutions then Ineed to use
application MCMS,i have read the code of MCMS but iI seen it know what
is working or not.
please i need your help,,thank you.

Jakub Viták

unread,
Apr 10, 2011, 4:34:36 PM4/10/11
to pluf-...@googlegroups.com
Hi.

Download latest code from here - http://code.pluf.org/p/mcms/downloads/1/
Download Auto Admin, update vhost.conf, correct paths in vhost and path.php
to point this app and AA source code. Setup DB in rs.php and run
install.sh and that's all.

In public version thero wasn't mutch (anything to be correct).

That's all I can do for you.

Good luck, Jakub V.

2011/4/9 php <aida...@yahoo.fr>:

php

unread,
Apr 11, 2011, 6:39:18 AM4/11/11
to Pluf Users
hello,



thank you very much for your help I am really happy , I want to follow
your instructions and I want to try it, I am a beginner in this
framework for this I find difficult but I enjoy this monstrous world
Be Smart,
can you tell me the command in linux to run install.sh!

php

unread,
Apr 11, 2011, 7:09:38 AM4/11/11
to Pluf Users

hello,
when i execute the command /var/www/admin-master/src/mcms-2$
sudo bash install.sh
i have erro:
Could not open input file: /srv/http/pluf/src/migrate.php
PHP Warning: require(Pluf.php): failed to open stream: No such file
or directory in /var/www/admin-master/src/mcms-2/www/bootstrap.php on
line 25
PHP Fatal error: require(): Failed opening required
'Pluf.php' (include_path='.:/usr/share/php:/usr/share/pear:/admin-
master/pluf:/admin-master/src:/var/www/admin-master/src/mcms-2/www/../
mcms-2/src') in /var/www/admin-master/src/mcms-2/www/bootstrap.php on
line 25
chown: invalid user: `http:http'

how i can update vhost.conf???
can you help me please;;thank you

Jakub Viták

unread,
Apr 11, 2011, 12:15:45 PM4/11/11
to pluf-...@googlegroups.com
Hi.

You have to setup apache vhost with paths valid to your system.
Point your browser to "http://localhost/admin-master/www/"
and if you see something like "server error 500", "page not found 404"
or "access denied 403", then your apache setup is not valid.

Good idea is to add paths to pluf and auto admin in /etc/php/php.ini
in include_path option.

After this step you have to fix paths in mcms application.

Update paths in install.sh and www/bootstrap.php (for default app
users) and then run install.sh

You also have to edit www/path.php and mcms-2/src/RS/conf/rs.php -
second file for the database.

Thereafter you will see login page for MCMS and you can login with
users defined in bootstrap.php.

Until you solve these steps - you are on your own. These are the basics.

Regards, Jakub V.

2011/4/11 php <aida...@yahoo.fr>:

php

unread,
Apr 13, 2011, 6:16:45 AM4/13/11
to Pluf Users
hello,,i
I followed the instructions you told me, well c running the database,
but when I type http://localhost/admin-master/www/
nothing is generated,,blank page,,can you give solution please,is that
empty tmp,,can you give the comande to empty tmp from cache,
please help me thank you

php

unread,
Apr 13, 2011, 6:07:37 AM4/13/11
to Pluf Users
hello,
thank you for your help, but i have the some problem,,i work in
localhost
the structure of folder is
var/www/admin-master/pluf
var/ww/admin-master/src
var/ww/admin-master/www
var/www/admin-master/src/mcms-2
var/www/admin-master/src/Admin
i don't know what's a error,,
i was updated vhost.conf:
## MCMS
<VirtualHost *:80>
ServerName localhost
ServerAlias mcms
ServerAdmin ja...@localhost.localdomain
DocumentRoot /var/www/admin-master
php_admin_value open_basedir /var/www/admin-master/src/mcms-2:/usr/
share/pear/:/tmp/:/srv
ErrorLog "/var/log/mcms-error_log"
CustomLog "/var/log/mcms-access_log" common
<Directory "/var/www/admin-master/src/mcms-2/www">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
i have fixed the path to mcms in path.php<<$path_to_Pluf = '/var/www/
admin-master/pluf';
$path_to_apps = dirname(__FILE__).'/var/www/admin-master/src/mcms-2/
src';
$path_to_Admin = '/var/www/admin-master/src';

i have update install.php
#!/bin/sh
TMP="RS/tmp"
M="/var/www/admin-master/pluf/migrate.php"
#OPT="-a" ## update
OPT="-a -i" ## install
#OPT="-a -x" ## uninstall
cd src
[ "$OPT" = "-a -i" ] && sudo rm -rf $TMP
[ ! -d $TMP ] && mkdir $TMP
php $M --conf=RS/conf/rs.php -d $OPT \
--include-path='/srv/http/pluf-aa/src'
[ "$OPT" = "-a -i" ] && php ../www/bootstrap.php
sudo chown http:http -R $TMP

can you please, give me solution since you have experience with
pluf,,,i seen to undersand the error?
Reply all
Reply to author
Forward
0 new messages