ispCP - Board - Support
Writing CronJobs Web int. It's time! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Writing CronJobs Web int. It's time! (/thread-5339.html)

Pages: 1 2 3 4 5 6 7


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 11-11-2009 01:29 AM

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


RE: Writing CronJobs Web int. It's time! - WuChEn - 11-11-2009 02:52 AM

Okay.
Problem is solved. Smile

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

Greatz WuChEn


RE: Writing CronJobs Web int. It's time! - WuChEn - 11-12-2009 06:01 AM

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


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 11-12-2009 03:45 PM

I use only stable relise


RE: Writing CronJobs Web int. It's time! - WuChEn - 11-19-2009 07:24 PM

Okay Problem is solved. Smile

Greatz WuChEn


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 11-20-2009 01:12 AM

(11-19-2009 07:24 PM)WuChEn Wrote:  Okay Problem is solved. Smile

Greatz WuChEn

What was the problem and what is its solution?


RE: Writing CronJobs Web int. It's time! - WuChEn - 11-20-2009 01:21 AM

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


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 11-20-2009 02:55 AM

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.


RE: Writing CronJobs Web int. It's time! - gOOvER - 11-20-2009 06:08 AM

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


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 11-21-2009 05:50 AM

Ooops! I was quite confused anyone what problems and who wants and how to solve.
: (
Prioryty Free Support implemented at Russian Corner.
Smile