\documentclass[a4paper]{article}
\title{Hello}
\begin{document}
\maketitle
\tableofcontents % I want to make the title and the TOC on the same page
\section{Section}
\subsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\section{Section}
\subsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\section{Section}
\subsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\section{Section}
\subsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\section{Section}
\subsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\subsubsection{SubSection}
\end{document}
I want to make the title and the TOC on the same page, but there are two problems:
The first problem is the page numbers are wrong.
The second problem is the wrong page layout showed in the following screenshot:


What's the root cause?
\mbox{}in your sections. This is a duplicate I'll find the older question.... – David Carlisle Apr 04 '15 at 21:27