Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - blakilox

Pages: [1]
1
Apache / Re: mod_rerwrite not working
« on: November 04, 2018, 04:48:26 AM »
What I also noticed is that on phpinfo() the Apache2 handler section is missing, so I dont see the module loaded there, I read some notes that that can happen if PHP is in fastcgi mode though as far as I can tell it is not in this mode
I also see httpd -M shows module is active "rewrite (shared").
Wordpress Re-write is just not working,
Wordpress URL's show the index.php
Did you fix this? thanks

2
Apache / Re: mod_rerwrite not working
« on: November 04, 2018, 04:44:44 AM »
Saaaaaaaaaaaaaaaaaaame thing, been staring at it for hours
Did you fix this?
Thanks

3
MySQL / MySQL Status Unknown
« on: August 19, 2018, 02:02:38 AM »
New Install Centos 7.5
MySQL 5.7.23
In the Dashboard front page Service Status
 
MySQL Database Server       unknown
and has the Yellow Moon Symbol
Service is Running Active (running)

How to get CWP to recognize that ?
Thanks

4
CentOS 6 Problems / Re: Can't list user accounts after MySQL update
« on: August 18, 2018, 01:17:40 PM »
CWP MySQL Database has no such table as "userTable" (it uses "user")
However I find this userTable in a search of CWP code

# find . -type f -exec grep -l 'userTable' {} \;
./cwpsrv/var/services/pma/libraries/Menu.php
./cwpsrv/var/services/pma/libraries/server_user_groups.lib.php
./cwpsrv/var/services/pma/libraries/server_privileges.lib.php

5
CentOS 6 Problems / Re: Can't list user accounts after MySQL update
« on: August 18, 2018, 12:43:58 PM »
New Install of CWP and this one is BACK, on a totally new instance and new server, same JSON error while listing users, though this time the above fix I have had success with before is not working, Pulling my hair out and thinking about doing another install, Perhaps Configure MySQL like the above BEFORE installing CWP???
Tried different browser, re-booting, I am using Centos 6 perhaps this lags behind the Centos 7 development
The User account does create, and displays in the Count, though cannot list it

Any Ideas Appreciated. I don't know where to go from here, Except for starting from Scratch

6
DNS / Single IP DNS
« on: August 18, 2018, 06:23:02 AM »
CWP dosent seem to cope too well with one IP DNS
Firstly you got to get your names onto a Domain Registrar that allows using one DNS
Uniregistry - The Best Registrar in the world (I have 1750 names I have tried them all get a good deal with my affilate link)
http://ap.uniregistry.com/click?aid=966666dg

with CWP the Trick to running with One IP as DNS and not get the "is not a valid name" error is to manually edit the named.conf

DNS Functions/Edit DNS Config
Click Backup the file first, (Note the location it backs up to in case you got to copy it back)


and change

zone "myserver.mydomain.com" {type master;file "/var/named/myserver.mydomain.com.db";}                                     ;
zone "myserver.mydomain.com" {type master;file "/var/named/myserver.mydomain.com.db";}                                     ;
zone "" {type master;file "/var/named/.db";};


to a single line like
zone "myserver.mydomain.com" {type master;file "/var/named/myserver.mydomain.com.db";}

Save and Re-boot

To test this, following the re-boot, go back to DNS Functions, Edit Nameservers
you should see like
(It has made 2 of them the same)
myserver.mydomain.com  123.123.123.MyIP
myserver.mydomain.com  123.123.123.MyIP

If you just click Save Changes you will now see there is no Error Message

7
Installation / Re: Firewall contact email
« on: August 17, 2018, 04:35:56 AM »
Warning: CSF/LFD Firewall - SECURITY ISSUE
CSF/LFD Firewall contact email for alerts is NOT set on your server, click here to check it.

Just to Clarify this, I found the Instructions pretty Vague too
I think this is what you do
Use that editor in the CSF.conf file
Find the line that says LF_ALERT_TO
Put your email between the quotes
Also set up a From address like yourserver@yourdomain.com
and LF_ALERT_FROM
Garry

8
CentOS 6 Problems / Re: Can't list user accounts after MySQL update
« on: August 17, 2018, 04:05:45 AM »
Same thing again on a third install, this saved me again, Re-boot afterwards

9
MySQL / Re: Creating new databases & users
« on: August 09, 2018, 02:28:35 PM »
Same Issue
cannot use MySql Manager to create database
I click in "Create New Database" nothing happens
The above workaround didn't work for me
I am finding this when logged in as a general user

UPDATE
Ahhhh what I found is it wont accept the underscore character, then it works, there is no warning

10
SSL / Error when creating new accounts and selecting Autossl
« on: June 24, 2018, 07:18:53 AM »
Getting this Undefined Variables error when creating new accounts and selecting Auto SSL
I'm not sure if it is an issue

Check Account Create Details
--> Checking if "/home/user1/public_html" folder if exist: [YES]

Reloading DNS zones
server reload successful
AutoSSL:

Notice: Undefined variable: .(962([*66 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0

Notice: Undefined variable: .(962([*66 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0
Domain added to /usr/local/apache/conf.d/vhosts-ssl.conf.
Domain added to CWP Configuration.

11
CentOS 6 Problems / Re: Can't list user accounts after MySQL update
« on: June 24, 2018, 07:12:45 AM »
Had this same issue in Centos 6 and Centos 7
just to clarify how to do that

Login as root and vi /etc/my.cnf
Unhash the line that looks like
# Optionally change the SQL mode.
#sql_mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

and change it to

sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

so you are Enabling that line and removing the "ONLY_FULL_GROUP_BY," part

Regards Garry, Outback Central Australia


12
CentOS 6 Problems / Re: CWPpro suddenly became unlicenced
« on: June 22, 2018, 07:21:35 AM »
Oh hang on sorry stupid of me "Your IP" is my current IP
That obviously has nothing to do with it
so I am still Stuck, CWPpro suddenly became unlicensed ?? I wanted to ask here before putting a Ticket, can I "refresh" the licence? the IP has not changed

13
CentOS 6 Problems / CWPpro suddenly became unlicenced
« on: June 22, 2018, 07:08:23 AM »
For some Reason my CWPpro has changed to "You are not running CWPpro" I have not changed my IP address my server is still on the same IP address though in the GUI under Shared Ip Address" this is my same IP address however where it says Your IP, this is wrong, so I guess that is what has messed up licencing,
Is that a Bug?
how do I change / fix "Your IP" ?

Thankyou, Garry, Central Australia

14
DNS / Re: Domain doesn't work without 'www'
« on: June 15, 2018, 06:40:16 AM »
Hi re-direction will of course work though none of these seem to be good solutions it seems by Default CWP will assume your preference is for www.mydomain.com to me www is just completely unnecessary so how would one Configure CWP so that when new user accounts are added the "mydomain.tld" will work to account/public_html/index.html

it seems the extra step of adding the .htaccess redirection is needed every account
Thanks, Garry, Central Australia

Pages: [1]