• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Fri Sep 14, 2007 1:39 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 6583
Location: Fernie British Columbia, Canada
1) The DBBackup module doesn't work with a virgin install of the 1.x series because adodb_lite comes by default, and the DBBackup module requires the full version of adodb.

2) Check your httpd error logs (if you don't know how to find them talk to your hosting provider) and see if there are any php errors (I'll bet, like nullg said that you've got some memory errors

OR

with all of the chmods and umask settings you've done, you've messed up the permissions.

_________________
Follow me on twitter
--
if you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
----------------
Don't make me angry..... you won't like me when I'm angry....


Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Fri Sep 14, 2007 1:00 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
chechogr wrote:
The backup module doesnt make the backup. Why do I notice this?


calguy1000 wrote:
The DBBackup module doesn't work with a virgin install of the 1.x series because adodb_lite comes by default, and the DBBackup module requires the full version of adodb.


I don't use Backup module but this version would have work

EDIT: sorry I forgot the link

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Sat Sep 15, 2007 8:36 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Fri Sep 14, 2007 6:30 pm 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3690
Location: Paris
Hello, sorry for this savage post, I haven't read all the thread :
Could it be a firewalling issue ? Does the host allow outgoing SOAP or so connections ?
Sorry if this is unrelated.

Pierre M.

_________________
-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.


Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Wed Sep 19, 2007 1:46 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
chechogr wrote:
i Changed ownership of the backup file through SSH to apache, and now when I try to recover the backup in the new server I get a text that says:

Restoring database...

But it doesnt restore.

I am kind of loosing hope.  :'(


Module Backup is not compatible with 1.1.X  :-\

Install CMSMS 1.08 in localhost (XAMPP, WAMP, ....)
Install Module Backup
Restore your backup
Update your localhost to same version of your server
Check
Backup your server
Import SQL on your server

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Wed Sep 19, 2007 5:55 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
chechogr wrote:
alby wrote:

Module Backup is not compatible with 1.1.X  :-\

Install CMSMS 1.08 in localhost (XAMPP, WAMP, ....)
Install Module Backup
Restore your backup
Update your localhost to same version of your server
Check
Backup your server
Import SQL on your server


I am trying backup module in CMSMS version 1.0.4


Ok, substitute my above row from 1.08 to 1.04  :)

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Thu Sep 20, 2007 7:15 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
chechogr wrote:
I have tryied everything
can believe after 1 year of useing CMSMS I am going to have to stop using it.
I tryied changing ownership and permissions of files.
Loading backup on old server to new server
loading mysql dump from old server to new server
copying the files of the installation from the old server to new server and loading backup
installing version 1.1.2
installing version 1.0.4

I just couldnt do it, couldnt load backup of my old site


Stopped and rewind ...

Old server: CMSMS 1.04 + Backup module
New server: CMSMS 1.1.2

1. Have you, on old server, a phpMyAdmin or other program for mysql dump?
  - yes: export/save sql dump of your old server on your local computer
  - no:
    I. option: download and install in subfolder (of old server) phpMyAdmin, configure and export/save sql dump of your old server on your local computer
    II. option (my opinion is better because you have an develop/test environment):
      - install in your local computer an portable distribution (Apache+PHP+MySQL+phpMyAdmin), p.e. XAMPP
      - install CMSMS 1.04 + Backup module on your local computer
      - restore your backup (relative to old server) with Backup module on your local computer
      - export/save sql dump of local computer

2. Install on new server CMSMS 1.1.2 with default template/configuration

3. Work well?
  - yes: continue
  - no: check permission, modules, errors, config.php, ...

4. Have you, on new server, a phpMyAdmin or other program for mysql dump/restore?
  - yes: DROP your tables on mysql of new server
  - no: download and install in subfolder phpMyAdmin and configure

5. import sql dump

6. update CMSMS (link in admin area) or read here

I don't know if it's all clear

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Thu Sep 20, 2007 8:15 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Thu Sep 20, 2007 11:46 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 6583
Location: Fernie British Columbia, Canada
I've never seen modules 'uninstall themselves' before.

_________________
Follow me on twitter
--
if you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
----------------
Don't make me angry..... you won't like me when I'm angry....


Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Thu Nov 08, 2007 3:19 pm 
Offline
New Member

Joined: Wed Nov 07, 2007 10:42 am
Posts: 5
HuttonIT wrote:
The problem for people like myself and the greater majority of us out here is that we never get root privileges on our hosted servers and as pointed out you can FTP stuff to your site and the owner is your FTP user name but when CMS or any PHP system creates a file on the fly the owner is the server.  In my case that is always Apache.
The solution I found is a file called Webadmin.php (Written by Daniel Wacker but can't even remember where I found it) but it works very well and as it is PHP you can change anything on your site as when you run the php you are running it as the root account as php is running as root - but as a word of warning make sure you don't leave the file in a public access area or anyone finding it can do the same to your site.
Take the file below and change the file extension from .txt to .php.  Save it as whatever.php and upload it to your site.  then hit it with your browser www.whatever.com/whatever.php and you will be able to CHMOD create, edit, delete, move etc files on the site.  It is very simple to use but very dangerous to as once done it is done.....  Use it with caution and don't leave it for others to use on your site.
I hope this is useful and can solve some of your permission issues.



This work around helped me alot!!!

Thanks!


Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Tue Feb 19, 2008 1:03 pm 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3690
Location: Paris
chechogr wrote:
Where is the file webadmin.php ? ant find it.


FIRST hit with Google...

_________________
-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.


Top
 Profile  
 
 Post subject: Re: A desperate story about file permissions and ownership
PostPosted: Wed May 20, 2009 10:22 am 
Offline
Forum Members
Forum Members

Joined: Tue Mar 03, 2009 3:32 pm
Posts: 78
Hi All,

Not sure if anyone can help.
I posted this in the wrong section so am trying this one.
Also this thread seems to be along the lines of what I am looking for.

I am really not sure what happened or if anyone can help...I am hoping they can.
I have crerated two portals, one for my Church and the other for my karate club.
On the CMS for my church I changed ownership of the modules folder using 'chown' in SSH using the command below:
'chown -R admin modules'

This was so I could make changes to the CalGuys calendar config file.
Unfortunately I changed ownership of all the modules to 'admin' and now I can not see my site when I browse to it.

I have no idea why this has happened as before I am sure some of the modules were owned  by 'web' and others by 'admin'.
I did not realise changing all the ownership of all the modules to 'admin' would do this.

I have attached an image of what my module ownership looks like now, is it possible for anyone to let me know where I went wrong...?
I have tried a blanket change ownership of all the modules to 'web' but this has not solved the problem and I fear I may have made it worse.

I am not sure of what my options are:
Is it possible to revert back to the old set-up?
If so how would I do this?

Also use the set-up of my karate club site, do you think it would work if I copy the ownership permissions of how that CMS is set-up for the church one?

If all else fails is there a way I can re-install the CMS and modules but not have to create the pages nor upload all the images?
Luckily I have made a back-up of all the templates and stylesheets.

I am getting quite desperate as this site was a page away from being finished and my deadline is next week. I would really hate to have to start over from scratch, so would love a simple or even possible solution.

I am using CMS 1.5.3
Apache v5.0
PHP 5.0

Charmie


Attachments:
ModulesFolder_Snapshot.gif
ModulesFolder_Snapshot.gif [ 78.24 KiB | Viewed 2729 times ]


Last edited by Charmie on Wed May 20, 2009 2:03 pm, edited 1 time in total.
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting