Jump to content


Most Liked Content


#2772 Expired: Promotion Code “SILVERSETUP” for Free Silver Setup

Posted by BihiraJonathan on September 29, 2007 - 11:12 PM

Promotion Code: SILVERSETUP
Value: $5.00
Type: One Time Discount
Applicable Products/Services:
  • Silver
How does it work?

Going through the shopping cart before checkout enter the promotion code “SILVERSETUP” and click the button Validate Code to recieve your discount. You will receive $5.00 off any order with a web hosting plan of Silver.


#3026 Expired: Promotion Code “AMETHYSTSETUP” for Free Amethyst Setup

Posted by BihiraJonathan on May 26, 2008 - 06:44 AM

Promotion Code: AMETHYSTSETUP
Value: $3.75
Type: One Time Discount
Applicable Products/Services:
  • Amethyst
How does it work?

Going through the shopping cart before checkout enter the promotion code “AMETHYSTSETUP” and click the button Validate Code to recieve your discount. You will receive $3.75 off any order with a reseller web hosting plan of Amethyst.


#2771 Expired: Promotion Code “BRONZESETUP” for Free Bronze Setup

Posted by BihiraJonathan on September 29, 2007 - 11:02 PM

Promotion Code: BRONZESETUP
Value: $7.50
Type: One Time Discount
Applicable Products/Services:
  • Bronze
How does it work?

Going through the shopping cart before checkout enter the promotion code “BRONZESETUP” and click the button Validate Code to recieve your discount. You will receive $7.50 off any order with a web hosting plan of Bronze.


#1078 Suggestion: enable bz2 PHP module

Posted by Jero on November 12, 2005 - 02:41 PM

The bzip2 functions are used to transparently read and write bzip2 (.bz2) compressed files.

I'd like to use the module to write bzip2 compressed archives for my new über secret project. So if it's possible to enable that module, I'd greatly appreciate it if you do so :)


#4156 transfer website

Posted by silentz on April 19, 2013 - 04:50 AM

i have my website built on a free hosting server and im looking to transfer it here soon once the website is complete. i was looking through the fees and it gave me a list of option from 1year to 10 year which confuses me. Once i have my website transfer here, ill be charged annually? even though the transfer is done once?


#4124 Suhosin Enabled

Posted by BihiraJonathan on January 14, 2013 - 05:48 PM

Done. :)


#4123 Suhosin Enabled

Posted by Kaden on January 14, 2013 - 08:46 AM

Suhosin Enabled The minimum recommended value for the configuration option 'suhosin.get.max_value_length' is 2000, however your value is 512. Your host will need to change this in the php.ini file. This is what i get when I upgraded my forums. would you be able to make the value 2000?


#4081 Outage on mahal (I believe)

Posted by jim_h on September 26, 2012 - 05:05 PM

67.159.5.243 is timing out and my domain j-hernandez.com is not resolving. Has been going on for at least an hour and a half. Another client's domain hosted here is also down. Any information on this or an ETA on resolution?


#3608 Promotion Code “99CENTSGOLD" for $0.99 on the First Month

Posted by BihiraJonathan on July 31, 2011 - 07:45 PM

Promotion Code: 99CENTSGOLD

Value: $11.51

Type: Fixed Amount

Expiration Date: September 1, 2011

Applicable Billing Cycle: Monthly

Applicable Products/Services:

  • Gold

Required Products/Services:

  • Gold

How does it work?


Your first month will only be $0.99 on your web hosting plan.


#3457 Database Errors

Posted by BihiraJonathan on February 14, 2011 - 11:43 PM

We believe we located the problem and hopefully MySQL should now be stable again. We do apologize for any inconvenience.

The problem was coming from a cPanel script that ran every four hours. The cPanel script purpose was to calculate some MySQL statistics. However, cPanel recently updated the way it did those calculations; the upgraded script was more accurate, though, in certain situations it could lead to a performance drop in MySQL (which was the case here).

cPanel gives the option to run either the old or new version of the above script. Until the new script is more reliable and optimized; we will continue to use the old script.


#3455 Database Errors

Posted by BihiraJonathan on February 14, 2011 - 08:06 PM

Remote connections were disabled (to rule it out as a problem); remote connections are now enabled again.


#3366 Do you transfer websites?

Posted by BihiraJonathan on January 31, 2010 - 10:11 PM

We normally charge $99 to transfer; however, if its not big files or a lot of files than we can probably waive the charge. Just go ahead and contact sales at the location below first so we can evaluate your site if we are able to waive the charge.

https://www.bihira.c...step=2&deptid=6


#3329 Python

Posted by theY4Kman on November 24, 2009 - 08:43 AM

I discovered the Django Python framework a few months ago, and it makes web development very intuitive and fun. I was wondering if was possible to install something like mod_python or mod_wsgi to allow Python applications to be stored in memory instead of being run on every access using plain CGI, reducing the load on the server and page load time.

Thanks,
Zach "theY4Kman" Kanzler


#3309 HOW TO: Automatically backup databases & email them to yourself

Posted by Moogie on September 05, 2009 - 11:14 AM

Hi all :)

I'm new to Bihira and after many problems with my old host this place is a really refreshing change.

I wanted to automate my database backups and have them emailed through to me. I've found a way to do this through cPanel using Cron Jobs and a little PHP script I've written this morning. I'm quite pleased with how this is working. Hope the instructions are clear enough!



Automate MySQL Backups through cPanel and Cron, and email them to yourself

  • Create a "backups" folder in your /home/username/ base folder.
  • Setup a Cron Job through cPanel as follows, replacing the variables in red with the correct values for your database name, database username, database password and your account username (note: do not leave a space between -p and your password)
    [B]mysqldump [COLOR="Red"]dbname [/COLOR]-u [COLOR="red"]dbuser[/COLOR] -p[COLOR="red"]dbpass[/COLOR] > /home/[COLOR="red"]username[/COLOR]/backups/[COLOR="red"]dbname[/COLOR].sql[/B]
  • Set up another Cron Job as follows, again modifying the variables in red. Set this for sometime after the first one, allow more time for larger databases! (I set mine for 15 mins later just to be sure, but smaller ones are fine with just a minute or two)
    gzip -f /home/[COLOR="red"]username[/COLOR]/backups/[COLOR="red"]dbname[/COLOR].sql
  • Copy the PHP code at the bottom of this post, save it as db_email.php and upload it to /home/username/backups.
  • Set up the variables titled "CONFIGURATION" in the PHP code.
    • $email should be set to the email address you want the backups sent to.
      (You may want to set up a web-based email account specifically to receive the backup emails - this way you only need to download the files when you need them and can access them from anywhere.)
    • $dbname the name of the database
      eg: username_dbname
    • $dbpath the path to your backup folder
      eg /home/username/backups
    • $renbackup should be set to 0 or 1
      The script is able to rename the database backup to include the date & time in YYYYMMDD_HHMMSS format if required* (time is included in case you want to run multiple backups in a day) - set the $renbackup variable to 1 to rename the file, or 0 to leave the filename as per the database name.
    • $delbackup should be set to 0 or 1
      You can also set the file to be deleted after being emailed to you if required, this will also mean it is replaced each time. Set the $delbackup variable to 1 to delete the backup after emailing it, or set it to 0 to leave it on the server.


    *This means that if you'd like to keep the backups on the server as well as emailing them, the file will not be overwritten each time the backup Cron runs because the filename will be different.
    If you do not set the script to rename the backup, the backup will be overwritten each time because the filenames will be the same. This will save space but you will not have a set of old backups.


  • When the PHP script is configured and uploaded to your /home/username/backups folder as db_email.php, set up the following Cron Job to run some time after the 2nd Cron (again, allow more time for larger databases)
    php /home/username/backups/db_email.php

If it works you should find you get a message through from the Cron Daemon (to the email address specified through Cron) first to say that the script has run, this should be followed by the email with database attachment (to the address specified in this script).
If it doesn't work, check in your backups folder for any php error files which have been output and troubleshoot from there :) Chances are you've typo'd the database name or login details.


PHP Code (save as db_email.php and upload to /home/username/backups)

#!/usr/bin/php
//===========================================================================
//     DATABASE BACKUP EMAILER for cPanel
//     by Moogie - moogie@shiningforcecentral.com - www.shiningforcecentral.com
//     Created 5th September 2009
//===========================================================================

//----------------------
// CONFIGURATION
//----------------------
  
$email = "yourname@yourdomain.com"; // address to send backup to
$dbname = "mydatabase"; //name of database
$dbpath = "/home/username/backups/"; //path to backups
$renbackup = 1; // 1: rename backup to include todays date (before emailing); 0: do not rename database backup
$delbackup = 1; // 1: delete file after emailing; 0: do not delete file;

//----------------------
// END CONFIGURATION
//----------------------

//===========================================================================
//   WARNING! Only edit code below this line if you know what you're doing
//===========================================================================

//set vars
$fileext = ".sql.gz"; // file extension
$filedate = date('Ymd_His'); //date prefix for file
$dbtime = date('H:i:s'); // time to include in message
$dbdate = date('l jS F Y'); // date to include in message
$filename = $dbname.$fileext; // file name with extension
$filepath = $dbpath.$filename; // filename and path
//message to include in the email
$msg = <<Backup of database $dbname from $dbdate at $dbtime is attached.
EOF;

//rename file?
if ($renbackup == 1) {
$newpath = $dbpath.$filedate."_".$filename; // set the path with date based name
rename($filepath,$newpath); // rename the file
$filename = $filedate."_".$fileext; // update the filename
$filepath = $newpath; // update the filepath
}

//emaily stuff
$bound = uniqid(time()."_") ;
$header .= "MIME-Version: 1.0\n" ;
$header .= "Content-Type: multipart/mixed; boundary=\"$bound\"\n" ;
$header .= "From: Database Backup System <".$email.">\n";      
$header .= "--$bound\n" ;
$header .= "Content-Type: text/html; charset=\"iso-8859-1\"\n" ;
$header .= "Content-Transfer-Encoding: 8bit\n\n$msg\n\n" ;

$attch = $filepath;
if ($fp = fopen($attch, "rb")) {
$header .= "--$bound\n" ;
$header .= "Content-Type: application/x-gzip; name=\"$filename\"\n" ;
$header .= "Content-Transfer-Encoding: base64\n" ;
$header .= "Content-Disposition: attachment; filename=\"$filename\"\n\n" ;
$header .= chunk_split(base64_encode(fread($fp, filesize($attch))))."\n" ;
fclose($fp) ;
}
else { print "File Error: Could not open attachment.";}


//send the email
mail($email, $filedate." Database Backup", "", $header);

//delete database backup?
if ($delbackup == 1) {
unlink($filepath);
}

exit();

?>



Note about backing up multiple databases
If you want to back up multiple databases in this way you will need to repeat the above process for each database. This also means that you will need to have a copy of the db_email.php for each database, each file named differently (or use several different backup folders) and refer to the file/folder/database accordingly in the Cron Jobs.



Right, I hope all of that is clear and makes sense! Those with some PHP abilities would be able to modify the script to attach a set of backups (although the backups themselves must each have their own Cron Job) to one email if preferred, or set up the script to send out a copy of all backups from the backup folder (not a great idea if they're not being deleted each time though!). The possiblities are endless. Well, not endless but there are other options anyway ;) Personally, this setup suits me and I don't have time to modify it for other purposes at the moment. Finally got a bit of time to work on my actual site for a change now, so forgive me if I leave this as it stands.
Quite happy for others to modify it as needed, though would appreciate some credit (and my name left in the code) if this is being posted anywhere else.


Thanks!

Moogie


#3197 Wordpress support

Posted by clark31 on November 29, 2008 - 09:39 PM

I have a Wordpress.com blog I want to move here. Do you support Wordpress themes? And is it possible to move a Wordpress.com site here?


#3086 Forum Packs: phpBB & IPB!

Posted by braiden on July 18, 2008 - 09:26 AM

I think, just as an aid to Members, that we should have free php Forums Setups available to us via the cpanel. What i mean is, the cpanel has a feature 'Add Forums' which prompts for a directory to install to, which then copies over all the files needed, and then shows you the Instructions on installing it. This could be really helpful, because there a so many files that you have to upload via FTP that it took me over 30 minutes to upload everything i needed, thats mainly because FTP does everything one connection/file at a time, I assume the servers are linked relatively close together, that would make it alot faster.

Just my 10c :) Thanks!


#3061 OpenSSL

Posted by samwilliamh2 on July 04, 2008 - 05:56 PM

I don't think bihira has this installed, but if it doesn't can we get OpenSSL installed? :)


#2921 I'm up for renewal and considering a move

Posted by BihiraJonathan on March 17, 2008 - 07:02 PM

Thank you for your interest in Bihira, L.L.C.

I understand that Bihira doesn't take credit cards


We accept credit cards and is considered the preferred payment choice.

It would seem that billing is done monthly, which is even more of a hassle. I would prefer to pay annually, or even longer in advance.


Prices are listed in monthly just to make it easier for our members to understand. We are able to bill annually and even biannually.

I have no additional questions at this time, the service seems adequate, or I wouldn't be contemplating a transfer.


Just let us know if you have any further questions.


#291 questioning myself.

Posted by Deltaforce229 on August 09, 2005 - 03:44 AM

i know this probably applys to none of you since im 16 and your all probably much older. before i start talking i hope to god you are all smarter than my girlfriend and know what a clan is.

about a year ago i joined into a bf1942 clan called LP about two weeks later there was a revolt against the leader and me and a few guys from LP joined up with another clan called BFOL within 2 months everyone from BFOL leaves. all that were left was
me
gunnanator (from LP)
boogieman (from LP)
bigboy (from LP)
gunpoint (from BFOL)
brownbear (from BFOL)

so we form deltasgaming.afz.biz which changed into .com. about a month after about a month bigboy and gunpoint leave. the rest of us join into a clan called ALS. withen a week they break up. so the now 6 of us left form GaC. after forming gac i leave to canada and when i get back everyone is gone.

now here comes the weird part. this same thing with friends has been happening to me since before i had ever had a computer. in the lower grades i had alot of friends then the next year i would have less and so forth and so on till i would have 2 friends left then it would build up for a little bit again then i would have none.


from how you all know me and have come to love me (yeah right) do you think i'm a bad omen for friendships. i currently have 8 friends of which i can only see durring school or work because they live one town over and i hate travling.


#1004 Installing Vbulletin

Posted by Mr Scumbag on November 02, 2005 - 08:57 AM

I have just purchased a full licence version of Vbulletin and have begun installing it on my site.

I have hit step 2 and gotten a seemingly common error (I researched it on the official site forums, please read.) Here

Here is my error:

Step 2) Connect to the database

Warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /home2/sideofbe/public_html/includes/class_core.php on line 648

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home2/sideofbe/public_html/includes/class_core.php on line 386

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home2/sideofbe/public_html/includes/class_core.php on line 386


It tells me that the problem is most likely one of these values (I've added some notes just in case, but I don't think they have much bearing:

// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$config['Database']['dbtype'] = 'mysql';

If I change to mysqli I get an "incompatible" error during installation.

// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = 'forum';

// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';

// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = 'dbmaster@example.com';

// ****** FORCE EMPTY SQL MODE ******
// New versions of MySQL (4.1+) have introduced some behaviors that are
// incompatible with vBulletin. Setting this value to "true" disables those
// behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;

When I change to true, I get a "cannot access database" error.

// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;

I think this may be my problem, not sure, I left as is.

// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '';

I also think this may be the problem. I replaced the green with my admin login and password that I use to access cpanel. Maybe I'm forgetting another username or password? I havn't done mysql maintinence in some months.


It only has a few fields in the linked topic, but I added others which I am concerned about.

The reason I havn't asked there is because I am sure someone here could help me more since we all have the same host (Bihira). It's probably a simple mistake I'm making, but could someone explain the exact values and/or information I need to input in the fields, possibly with examples?

Any help would be appreciated beyond belief. Vbulletin isn't cheap software, and I'd like to get started ASAP.

Cheers.