Uploading local Diem project to remote server.

41 views
Skip to first unread message

Ravinder

unread,
Dec 28, 2011, 11:49:46 PM12/28/11
to diem-users
Hello Everyone,
I have successfully developed my first project using Diem CMF in my
localhost.
I have moved the project(all files) from my localhost to the remote
server through FTP and created and configured database also.
Every thing is fine till now and also i can access my home page
through browser, but the problem is some of the widgets are not
displaying.
I dont know the process which i followed to upload project to remote
server is correct or not.
Can some one tell me what might be the problem or is there any
specific procedure which has to be followed to upload project to the
remote server.


Thanks in advance.

Javier Neyra

unread,
Dec 29, 2011, 6:16:56 AM12/29/11
to diem-...@googlegroups.com
its like installing any aplication,

-copy the files, configure data base, load the data base, and thats
all.... (in diem in particular it could be good to run dm:setup).

in particular what i do is to manage the file upload with SVN, i make
a branch in my svn, and check out that branch in my production server,

any way, can u give more detaiil on the problem? or the URL where the
page is hosted?

2011/12/29 Ravinder <ravin...@gmail.com>:

Ravinder

unread,
Dec 30, 2011, 2:53:33 AM12/30/11
to diem-users
Hi Javier Neyra,

Thank you very much for your reply.
Now my problem is solved.
but facing one more problem with admin application.
i have created new folder admin in root/web folder and moved admin.php
and admin_dev.php into admin folder.
Now i can access the admin application with the URL www.myproject.com/admin
but the css files are not getting loaded

i followed steps mentioned in the below link
http://www.symfony-project.org/cookbook/1_0/en/web_server
i have placed define('SF_ROOT_DIR',
realpath(dirname(__FILE__).'/../..')); in both admin/admin.php and
admin/admin_dev.php files as mentioned in the above link but now use
of it.

i dont know how to include css and js files for admin application.
I know it is not related to DIEM CMF but i will be very thank full if
some one helps me out from this issue.

Thanks in advance.




On Dec 29, 4:16 pm, Javier Neyra <javier.javi...@gmail.com> wrote:
> its like installing any aplication,
>
> -copy the files, configure data base, load the data base, and thats
> all.... (in diem in particular it could be good to run dm:setup).
>
> in particular what i do is to manage the file upload with SVN, i make
> a branch in my svn, and check out that branch in my production server,
>
> any way, can u give more detaiil on the problem? or the URL where the
> page is hosted?
>
> 2011/12/29 Ravinder <ravinder...@gmail.com>:

4levels

unread,
Dec 30, 2011, 4:14:46 AM12/30/11
to diem-...@googlegroups.com

Hi Ravinder,

The symfony styles are loaded throug a symlink in your web root folder, eg public_html/sf

You can create an alias declaration in your webserver's config or manually copy the folder symfony/data/web/sf to your public_html.
For plugins you'll have to copy each plugin's web folder to your web root as well, naming it after the plugin, eg plugins/dmFlowPlayerPlugin/web -> public_html/dmFlowPlayerPlugin

Have a look at a local diem site to see everything setup correctly.

Kind regards,

Erik
IT specialist - OpenSource developer
--
sent from my mobile phone

Ravinder

unread,
Jan 3, 2012, 1:33:37 AM1/3/12
to diem-users
Hi,
Thanks for your help.
Now every thing is working perfectly.
I want to know how to run symfony commands through admin
I know Diem provides command line interface(CLI) under menu link
'System/Diem Console'
Using this link i am able to run linux commands like ls,mkdir, rm, cp,
mv .. etc but when i run symfony commands like sf,sf cc ... the
screens is showing as loading... but never returning the result.
I am using godday shared server. Is there any setting i have to make
to run symfony commands through admin Diem Console link.
I need to upgrade Internal search engine using CLI.
some one please help me.

Thanks in advance.




On Dec 30 2011, 2:14 pm, 4levels <4lev...@gmail.com> wrote:
> Hi Ravinder,
>
> The symfony styles are loaded throug a symlink in your web root folder, eg
> public_html/sf
>
> You can create an alias declaration in your webserver's config or manually
> copy the folder symfony/data/web/sf to your public_html.
> For plugins you'll have to copy each plugin's web folder to your web root
> as well, naming it after the plugin, eg plugins/dmFlowPlayerPlugin/web ->
> public_html/dmFlowPlayerPlugin
>
> Have a look at a local diem site to see everything setup correctly.
>
> Kind regards,
>
> Erik
> IT specialist - OpenSource developer
> --
> sent from my mobile phone

Isaac Hernández Cabrera

unread,
Feb 2, 2016, 12:03:42 PM2/2/16
to diem-users
HI


I just finish my first diem project. But i dont know how  make it run in a shared hosting. 
I dont know if i have to execute the comand php /path/to/diem/install 
I think that i just have to upload all the files and change one of the configuration files to make the project work but im not sure which one and what changes should i do. 

Can u help me? 

Jörg Wegner

unread,
Feb 3, 2016, 5:35:52 AM2/3/16
to diem-...@googlegroups.com
Hello Isaac,

If you've uploaded your project completely to the server you don't have
to run the Diem installer script. Normally you have to adjust the path
'.../dmCorePlugin/lib/core/dm.php' in
'config/ProjectConfiguration.class.php' and your database configuration.
The exact settings depend on your hosters environment settings.

You should have shell access (SSH) to be able to check if the server
meets Diems requirements. Run in the root directory of your Diem
installation

'./symfony dm:server-check'


After successful check don't forget to import your local database on the
server if this is your initial setup.

After adjusting these configuration files you need to

'./symfony dm:setup'


HTH
Jörg

Normally you have to
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "diem-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to diem-users+...@googlegroups.com
> <mailto:diem-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


--
Mit freundlichen Grüßen
Jörg Wegner

Bergstraße 11
D-56412 Niedererbach

Tel. : +49 (0) 6485 / 6 92 92 10
E-Mail: wegner...@gmx.de
Reply all
Reply to author
Forward
0 new messages