The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
HELP!!!! - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: HELP!!!! (/showthread.php?tid=681)

Pages: 1 2 3


HELP!!!! - Katronix - 08-21-2017

Okay the new table and new script worked. Really wished I knew what was wrong with the first one lol.


HELP!!!! - Katronix - 08-22-2017

Is there a recommended tool to make the tables? I used phpMyAdmin for the table that US had issues with.


HELP!!!! - mudmin - 08-22-2017

I just use phpmyadmin. Here are a few tips:

The first column is always called id, int(11) auto increment, primary key.

Use date when you need to do math on the data and then create your date with date("Y-m-d") in php

Don't use int unless you absolutely need it to be an integer. Varchar is fine 99{3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d} of the time and will save you a bunch of headaches.

Making your columns only accept small numbers doesn't save you much in the way of space and performance. You can always tweak later, but making something varchar255 is not going to kill your db, but if you make it 10 and you need 11, your query will fail, so go big to start.

Know that 4.3 is getting some additional debugging tools for the db to give you more clarity as to why something failed.