Skip to main content
CafeWebmaster

Main navigation

  • Tools
    • MD5 converter
    • SHA1 converter
    • Base64 encode
    • Base64 decode
    • HTML entities encode
    • HTML entities decode
    • Raw url encode
    • Raw url decode
    • UTF8 encode
    • UTF8 decode
    • Unix Time to Human Date converter
    • Remove duplicate lines
    • Sort text lines
    • Backwards - Mirrored Text
    • PiRaTe tExT
    • Your IP Address & Hostname
  • Forums
  • Free PHP Scripts
    • Image watermark with PHP
    • Page generation time with PHP
  • CSS
    • CSS hidden left menu
    • CSS horizontal menu
  • Free Fonts
  • Image Editors
  • Tutorials
    • Check password strength / safety with PHP and Regex
    • Cómo hacer que su sitio web popular!
    • How2 make a website popular
    • How2 secure your website
    • Kennwort Sicherheit mit PHP und Regex Prüfen
    • Page generation time and http-referrers with php
    • Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
  • New
User account menu
  • Log in
By Anonymous (not verified), 20 April, 2011

Failed to modify server : AWstats reporting is already enabled for this domain

I have a problem: I have a website which is older than 10 years. I was using a cpanel-whm server till 4 years ago. Than I changed to a Debian Lamp server with webmin. And upgraded the server last month. I had migrated cpanel-backups to webmin and after upgrade migrated webmin-backups to new webmin on new server. Awstats is not checked and not to see under logs tab. But when I try to check and activate Awstats under "edit virtual server" tab, I get this error: Failed to modify server : AWstats reporting is already enabled for this domain.

How can I pass this error? Thanks

  • Read more about Failed to modify server : AWstats reporting is already enabled for this domain
  • Log in to post comments
By Anonymous (not verified), 15 April, 2011

CMS for a nice-looking news website

Hello,

I want to create a news-portal using a CMS written in php-mysql.

The most important is the home-page also first page. It must look professional and functional.

There will be sections like news-stories, articles, comments, videos, photo-galleries, surveys etc.

  • Read more about CMS for a nice-looking news website
  • Log in to post comments
By Anonymous (not verified), 11 April, 2011

Sort Drupal taxonomy terms by custom weight

I have got a problem with Drupals taxonomy sorting alghoritm. I got a taxonomy group for authors. I created a block with tagedelic "tags in authors". The problem there was that tagedelic couldnt put in right place author-names starting with letters like é, í, ò etc.

To solve it. I exported all terms and edited them in Notepad++. I sort terms by alpha, gave them an automated line number. And combined line number with Drupals weight range (scala +49 to -49).

update term_data set weight = -49+\1/3 where tid=\2 /* \3 */ ;

\1 is line number.

  • Read more about Sort Drupal taxonomy terms by custom weight
  • Log in to post comments
By Anonymous (not verified), 8 April, 2011

Alexa Toolbar for Android Mobile Phone

Hello
I would like have a toolbar like Sparky or Searchstatus for Mozilla or something like Alexa Toolbar for Internet Explorer. I am using Android OS for my mobile phone. Nexus. Thanks

  • Read more about Alexa Toolbar for Android Mobile Phone
  • Log in to post comments
By Anonymous (not verified), 8 April, 2011

Adobe Flash CS4 cannot be installed (Creative Suite 4 Master Collection)

I am trying to install cs4 with flash. I have tried it 3 times:
1. just installing flash
2. updating cs4 incl. flah
3. deinstall-install cs4 master collection completely

Each time I get this error:

Error:
Error 1603. Error 1305.Error reading from file C:\Program Files (x86)\Adobe\Adobe Flash CS4\JVM\lib\rt.jar. Verify that the file exists and that you can access it.

Any idea how to fix it?

  • Read more about Adobe Flash CS4 cannot be installed (Creative Suite 4 Master Collection)
  • Log in to post comments
By Anonymous (not verified), 3 April, 2011

Creating linux ext3 file-system for a disk

Executing command:

mkfs -t ext3 -c -q /dev/sda1 
  • Read more about Creating linux ext3 file-system for a disk
  • Log in to post comments
By Anonymous (not verified), 3 April, 2011

Failed to save mount : Mount failed :

I have tried to mount my second sata disk and got following error:

Failed to save mount : Mount failed :

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Any idea why and how2 fix it?

  • Read more about Failed to save mount : Mount failed :
  • Log in to post comments
By Anonymous (not verified), 24 March, 2011

E: Sub-process /usr/bin/dpkg returned an error code (1)

I have a debian 64 bit lenny4 server and wanted to updatebind 9. Update is failed while I was trying with this commands:

 apt-get -y install bind9
 apt-get -y -f install bind9

I get this error at the end of shell window:
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is the full output:

apt-get -y -f install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
bind9 is already the newest version.
bind9 set to manually installed.
  • Read more about E: Sub-process /usr/bin/dpkg returned an error code (1)
  • Log in to post comments
By Anonymous (not verified), 15 March, 2011

apache2ctl fullstatus /usr/sbin/apache2ctl: line 119: www-browser: command not found

When I execute following command to see apache's full-status I get just an error message:

apache2ctl fullstatus 
/usr/sbin/apache2ctl: line 119: www-browser: command not found

Any idea how to monitore Apache on debian Lenny?

Thanks a lot!

  • Read more about apache2ctl fullstatus /usr/sbin/apache2ctl: line 119: www-browser: command not found
  • Log in to post comments
By rex, 14 March, 2011

how to create 64 bit int, unsigned long long variable with c++

  • Read more about how to create 64 bit int, unsigned long long variable with c++
  • Log in to post comments


#include <stdio.h>
#include <inttypes.h>


int main(){


  uint64_t x = -10033333000;
  int64_t y =  113333334445533;

  // print x as unsigned variable PRIu64
  printf("value of x is: %" PRIu64 ,x);
  printf("\n");
  // print x as integer variable PRIi64
  printf("value of y is: %" PRIi64,y);
  printf("\n");


  // this is the same like y
  unsigned long long z = -212121212121;
  printf("value of z is: %llu",z,"\n");
  printf("\n");


  return 0;
}

gcc  int64bit.c -o int64bit
int64bit.c: In function ‘main’:

Pagination

  • First page
  • Previous page
  • …
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Current page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • …
  • Next page
  • Last page
CafeWebmaster.com(CW) is a free online community for webdevelopers and beginners. Anybody can share their code, articles, tips, tutorials, code-examples or other webdesign related material on the site. Newbies can submit their questions and reply to existing questions. CW does not guarantee or warrant reliability of code, data and information published on the site. Use the site on your own risk. The site takes no responsibility of direct or indirect loss or any kind of harm to its users. The site also doesn't take responsibility of infected files or source code with any kind of infection or viruses, worms, spywares, malwares, trojan horses. CW reserves the right to edit, move, or delete any of content for any reason.