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
#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
#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
#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
#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
#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
#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
#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
#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.
#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


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

Forum Jump:


Users browsing this thread: 6 Guest(s)