Division By Zero Error in Cutenews

June 29, 2008

Division By Zero Error in Cutenews - if you’re getting the following error then I have a solution.

This is the error you should be getting:

Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469 Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469Warning: Division by zero in /PATH…./cutenews/inc/functions.inc.php on line 469

Division By Zero Error in Cutenews - The Steps


  • So, open FTP and go into your Cutenews folder to solve the division by zero error.
  • Once you’re in the Cutenews folder, find the Inc folder and then find the file functions.inc.php - open it
  • Once you’ve opened the functions file, search for this code. To search for it press CTRL/Command + F when the box appears, enter the code quoted below.
  • if($i%$break_location == 0 and $break_location)
  • Once you’ve found the code I displayed above, replace it with this code:
  • if($break_location)
  • And that’s it! I hope this helped you solve the division by zero error, if not… or if you have any questions, please do leave a comment below or you can request something similar to this division by zero error in Cutenews Tutorial

How to Add Custom Smilies to Cutenews

June 29, 2008

This How to Add Custom Smilies to Cutenews Tutorial will explain how to ditch the default smilies you currently have in Cutenews and replace them with some much nicer ones.

It’s very simple and easy to do - but you need to download some great smilies first. My favourite website for smilies has to be Maze Guy he has some very unique and crazy smilies… so if you’re looking for some, I’d go there first!

Feel free to request something similar to this How to Add Custom Smilies to Cutenews Tutorial.

How to Add Custom Smilies to Cutenews Tutorial - The Steps


  • Go into your FTP and then go -> Cutenews (the main folder) -> Data -> Emoticons
  • There are files in this folder already - highlight them all and delete them.
  • Now upload the new smilies you downloaded.
  • Now go into your browser, go to the Cutenews control panel and then look for the main tabs. Go -> Options -> System Configurations
  • You’ll now find a little field and close to it, it’ll say “Smilies” - make sure to delete any text inside the long field (if any).
  • Now, move your browser and FTP client so you can see both side by side. You’re going to enter the names of the smilies into the long field (in the browser) minus the .gif - so just the name.
  • Example (in the field): wink,smile,laugh,happy
  • Example (in FTP): wink.gif smile.gif laugh.gif happy.gif
  • So, enter each smiley name into that field, separate each smiley with a comma.
  • And that’s it! If you have any problems or questions regarding this How to Add Custom Smilies to Cutenews Tutorial then please do leave a comment below.

Validating My Website; Why? What tools? Help me?

June 29, 2008

Why Validate?

Validating your coding is no way near a must but if you do validate your website it shows a few things; patience on your part, because it is not an easy thing to do. Confidence with codes and the web - not to mention your desire to make your website as user friendly as possible.

But it is hard to do and if you don’t know how it can feel impossible.

What is validating a website?

Validation is simply putting your pages, codes and website together so that it works perfectly, for you, your visitors and search engines. It’s like putting a car engine together properly, it could work with the odd bit out of place, but it works better when everything is 100% correct.

How can I test my website?

You can submit your website, a page or some coding here: http://validator.w3.org/

CSS Validation

Just to make things more frustrating, they also validate CSS - this for me is the most important, badly coded CSS can be the bane of all problems. You can validate your Cascading Style Sheet here: http://jigsaw.w3.org/css-validator/

I’m really stuck! Can you help me?

If you’re attempting to validate your website pages or CSS we can definitely answer any questions you have. All you need to do is leave a comment below and we will personally reply either via the website or email you personally.

If you have any other questions regarding this page: Validating My Website; Why? What tools? Help me? - please comment below.

Rotation Script

June 29, 2008

This Rotation Script is great if you want to display lots of images in one place and if you want them to rotate on refresh then this is the perfect script - often used on Forums and Message Boards.

Please note: We don’t know who created this rotation script, if you do then please email us so we can credit the wonderful scripter who created this.

Rotation Script - The Steps:

  • For this to work you must have an FTP program, somewhere you can upload images and a file. If you don’t maybe a friend does.
  • Step 1: Create a folder in FTP, lets call it "RotationScript" -
  • Step 2: Locate the files you want to put in the rotation script, it doesn’t matter what size they are but it is best if they’re similar sizes or the same. Upload the files into the RotationScript folder in FTP
  • Step 3: Download this php file and then upload it to your "RotationScript" folder.
  • Step 4: Go to your usual browser, type in your website address then the folder and then the file. Something like this: www.yourwebsite.com/folder/rotation_script.php
  • It should now work - just press refresh on your browser to get another image. If you have any questions regarding this rotation script please leave a comment below.

Written by Cameron