Current time: 11-23-2024, 08:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
Writing CronJobs Web int. It's time!
Author Message
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #41
RE: Writing CronJobs Web int. It's time!
Ok, I understend you.

(11-10-2009 10:34 PM)WuChEn Wrote:  the ispcp gui has

user: vu2000
group: www-data

...

cronejob_add and cronejob_edit runs as vu2000 because the gui run as user vu2000.

In my OS all gui files have group "apache" which group have rights to access to all files under /var/www/
In you system "www-data" must have access to all files.
Se OS manual to solve this problem. Maybe /etc/pasword :
apache:x:48:48:Apache:/var/www:/sbin/nologin

I don't remember Sad
(This post was last modified: 11-11-2009 01:33 AM by data-stream_ru.)
11-11-2009 01:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #42
RE: Writing CronJobs Web int. It's time!
Okay.
Problem is solved. Smile

I Added the Group www-data as secondary group of vu2000. Smile

Greatz WuChEn
11-11-2009 02:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #43
RE: Writing CronJobs Web int. It's time!
Okay last Problem. *g*

You have editet the

./ispcp/gui/reseller/domain_delete.php

with the code:

/* check for cronjobs */
$query = "SELECT COUNT(id) AS cronnum FROM hcrondtab WHERE domain = ?";
$res = exec_query($sql, $query, array($del_id));
$data = $res->FetchRow();
if ($data['cronnum'] > 0) {
/* ERR - we have cronjobs for this domain */
set_page_message(tr('Domain you are trying to remove has CronJobs !<br> first remove them !'));
header("Location: users.php");
die();

}

But this Code doesn´t work with the File of the trunk.
If you have some time, can you please check the
./ispcp/gui/reseller/domain_delete.php
of the trunk and can say how to change this file!?

So i can create a how to for debian 5 lenny with all files for the trunk ( 1.0.3 )

Greatz WuChEn
11-12-2009 06:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #44
RE: Writing CronJobs Web int. It's time!
I use only stable relise
11-12-2009 03:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #45
RE: Writing CronJobs Web int. It's time!
Okay Problem is solved. Smile

Greatz WuChEn
11-19-2009 07:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #46
RE: Writing CronJobs Web int. It's time!
(11-19-2009 07:24 PM)WuChEn Wrote:  Okay Problem is solved. Smile

Greatz WuChEn

What was the problem and what is its solution?
11-20-2009 01:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #47
RE: Writing CronJobs Web int. It's time!
The Problem was, that the domain delete as reseller and domain delete as admin not delete the cronejobs. Because we work with the trunk Version.

We have edit the domain-delete.php and user-delete.php to solve this Problem.

Now we working on the german how to. Smile

Greatz WuChEn
11-20-2009 01:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #48
RE: Writing CronJobs Web int. It's time!
Dearest WuChEn,
I have the same lang. problem too, that does not prevent me purchase servers at Nurenberg's DC, and find common ground with the Data-Centres of Germany .
Could you help the users panel and describe your problem in English?
This will help me in future versions of the module "CronJobs for ispCP" to accommodate your wishes and eliminate my mistakes.
11-20-2009 02:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #49
RE: Writing CronJobs Web int. It's time!
hmmm, i don't understand atm, what you want data-stream_ru. he describes his Problem in English and he give you also a solution. Wink

Quote:I have the same lang. problem too, that does not prevent me purchase servers at Nurenberg's DC, and find common ground with the Data-Centres of Germany .

What do you mean with this?? This is not really clear, because we don't talked about Servers Wink WuChEn is German an he only said, that they a working on a HowTo in German Smile The next Step (my step) will be, to write a Guide in english Smile
11-20-2009 06:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #50
RE: Writing CronJobs Web int. It's time!
Ooops! I was quite confused anyone what problems and who wants and how to solve.
: (
Prioryty Free Support implemented at Russian Corner.
Smile
11-21-2009 05:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)