This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

All New Sentastico!
#21
RE: All New Sentastico!
Hi @TGates,

Getting error with install:

Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/modules/sentastico/deploy/install.run on line 43
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Thanks given by:
#22
RE: All New Sentastico!
Confused
Must have missed something. Will check it out.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Thanks given by:
#23
RE: All New Sentastico!
You may not have an updated test package. I have also re-uploaded it to mach-hosting.tk/repo just in case.
Try it again when you get a chance.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Thanks given by:
#24
RE: All New Sentastico!
(02-12-2016, 07:13 AM)TGates Wrote: You may not have an updated test package. I have also re-uploaded it to mach-hosting.tk/repo just in case.
Try it again when you get a chance.

Yes it was because confilicting repo'sSmile

But still one error remains:

/bin/chown: ongeldige gebruiker: ‘www-data:www-data’

Centos uses apache:apache

php_uname give OS names right? Maybe code a line with case Centos?
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Thanks given by:
#25
RE: All New Sentastico!
Maybe something like this?:

PHP Code:
$sysOS PHP_OS;
$checkredhat '/etc/redhat-release';
$mod_path '/etc/sentora/panel/modules/sentastico/packages';
 
   switch($sysOS){
case 
'Linux':
if (
file_exists($checkredhat)) {
 
                       system("/bin/chmod -R 0755 ".$mod_path);
 
                       system("/bin/chown -R apache:apache ".$mod_path);
} else {
 
                       system("/bin/chmod -R 0755 ".$mod_path);
 
                       system("/bin/chown -R www-data:www-data ".$mod_path);
}
break;
default:
 
           //windows or incompilable operating system !!Do Nothing!!
 
       break;

[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Thanks given by:
#26
RE: All New Sentastico!
updated, seems OK on Ubuntu 14.04
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Thanks given by:
#27
RE: All New Sentastico!
(02-13-2016, 02:55 AM)TGates Wrote: updated, seems OK on Ubuntu 14.04

Was installed just fine on Centos.

It's not the cleanest solution but it works! Smile
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Thanks given by:
#28
RE: All New Sentastico!
Until I figure out a better way, I guess I will release it and go from there Big Grin
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Thanks given by:
#29
RE: All New Sentastico!
Better way is check username and group by
Code:
system('whoami');
system('groups');
It should work well when script is running in web browser, but it need to be tested. Hardcoded username/group isn't good option, someone could change user and/or group in his apache config.
Thanks given by:
#30
RE: All New Sentastico!
(02-21-2016, 08:16 AM)Castey Wrote: Better way is check username  and group by
Code:
system('whoami');
system('groups');
It should work well when script is running in web browser, but it need to be tested. Hardcoded username/group isn't good option, someone could change user and/or group in his apache config.

Thanks for the input, checking it out.
But, if somebody changes username/group, then they are not using a default install of Sentora which we do not support.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentastico white screen zustudios 3 8 ,069 01-27-2020, 03:20 AM
Last Post: Jettaman
How to Sentastico Packages update? lycuc 11 30 ,515 08-11-2018, 11:14 AM
Last Post: TGates
Sentastico "add" button does nothing Saveriott12 10 25 ,819 03-02-2018, 05:50 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)