• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

I have a question for homework and it keeps giving me errors every time I try and fix it. I'm new to Linux and I don't really know much.

$ cp new-fileb ../dir-a/org-fileb [Copy new-fileb to dir-a and rename the file to org-fileb] 

new-fileb is stored in dir-b and wants to be copied to dir-a and be renamed org-fileb.