Search found 204 matches

by mister_v
Thu Aug 18, 2016 8:51 pm
Forum: SQL
Topic: Select a month of every year
Replies: 1
Views: 55461

Select a month of every year

Hello,

I'm creating a select-query to get the data of a specific month of every year.
So not just one month, but all the months december of 2006, 2007, 2008, ...

How do I do that?
by mister_v
Fri Jul 29, 2016 12:58 pm
Forum: Shell
Topic: add files to compressed tar-archive
Replies: 2
Views: 68279

Re: add files to compressed tar-archive

Not really what I was looking for,
but it works.

So thanks :-)
by mister_v
Wed Jul 27, 2016 6:48 pm
Forum: Shell
Topic: add files to compressed tar-archive
Replies: 2
Views: 68279

add files to compressed tar-archive

Does anyone know how to add files to an existing compressed tar-file?
by mister_v
Fri Jul 08, 2016 4:23 pm
Forum: Apache
Topic: apache config nolonger working
Replies: 1
Views: 65932

apache config nolonger working

Hi,

I have a problem with the config-file of one of my virtual sites:

Code: Select all

Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
 * ERROR: apache2 failed to start
It used to work, I didn't change anything in this file.
by mister_v
Tue May 10, 2016 5:50 pm
Forum: MySQL
Topic: How to get the size of a table?
Replies: 1
Views: 62707

How to get the size of a table?

Hello,

how do I get the size of a table in MB?

Is there a query you can use?
by mister_v
Wed May 04, 2016 6:03 pm
Forum: PHP
Topic: php max key from array
Replies: 1
Views: 64289

php max key from array

Hi,

how do I get the biggest key out of an array?

Code: Select all

$arr = array( 1 => 'c', 10 => 'z', 4 => 'A' );
I can do it with a foreach loop,
but I'm hoping there is a easier way.

thanks.
by mister_v
Thu Apr 28, 2016 5:48 pm
Forum: PHP
Topic: Solved : php log files set error levels
Replies: 5
Views: 99042

Re: Solved : php log files set error levels

Thanks, there are indeed 2 lines with error_reporting.

I also edited the second line, and now it works.

Why are there 2 lines?
by mister_v
Tue Apr 19, 2016 6:14 pm
Forum: PHP
Topic: Solved : php log files set error levels
Replies: 5
Views: 99042

Re: php log files set error levels

I changed the value of error_reporting, but it is not working.

What do I do wrong.
by mister_v
Sun Apr 17, 2016 7:50 pm
Forum: PHP
Topic: Solved : php log files set error levels
Replies: 5
Views: 99042

Solved : php log files set error levels

HI,

How can I set the log levels in php?

Now the logs of my webserver get filled by notice errors,
but I don't need them.
by mister_v
Sun Mar 27, 2016 10:51 am
Forum: Postfix
Topic: Dovecot failed: Address family not supported by protocol
Replies: 1
Views: 69915

Dovecot failed: Address family not supported by protocol

Hello,

I get the following error message in my logs /var/log/mail.err

Code: Select all

failed: Address family not supported by protocol
How do I fix it?