Welcome! Log In Create A New Profile

Advanced

Task 1A / 1B

Posted by Stephanie Werren 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Task 1A / 1B
February 20, 2009 02:46PM
I see nobody has started this topic for this semester? I have completed Task 1A and 1B Successfully.

Regards
Stephanie
Re: Task 1A / 1B
February 22, 2009 03:17PM
I have just had the most ridiculous week of work. I'm getting cracking on this now. I know I'm running miles behind, but this will be rectified pronto.

To work smiling smiley
Marc
Re: Task 1A / 1B
February 22, 2009 05:33PM
After sorting out the issues with XAMPP and the various services (thanks Vista tongue sticking out smiley), I've completed Task 1A and Task 1B.
Re: Task 1A / 1B
February 23, 2009 11:28AM
Hi,

My Task 1A and B completed without any problems smiling smiley
Anonymous User
Re: Task 1A / 1B
February 23, 2009 04:59PM
http://localhost/studentPHP/firstscript.php.
Object not found, keep saying Error 404.
I need solution please.
Re: Task 1A / 1B
February 23, 2009 09:30PM
Achonye Wrote:
-------------------------------------------------------
> http://localhost/studentPHP/firstscript.php.
> Object not found, keep saying Error 404.
> I need solution please.


You need to install that XAMPP package to your hard drive, say C:\XAMPP. There's a file called readme_en.txt in that folder with the instructions. All I did, after reading the file, was run 'setup_xampp.bat', and then 'apache_start.bat' (this gets the Apache server started), and 'mysql_start.bat' (this starts the MySQL service). If those are running successfully, then you should have no problems accessing the localhost.

If this IS all up and running, and it's still not working, you probably need to copy your PHP file to the 'htdocs' folder in the XAMPP directory. This is where the localhost seems to look for any PHP files such as the ones we're going to be making. So, once you've copied your PHP file there, you'd access it by entering http://localhost/firstscript.php into your broswer. Unless we're meant to make a StudentPHP folder, but I couldn't figure out how to do that. I read about this in the 2008 forums, and it worked for me.
Re: Task 1A / 1B
February 23, 2009 09:57PM
Rincewind Wrote:
-------------------------------------------------------
> Achonye Wrote:
> --------------------------------------------------
> -----
> > http://localhost/studentPHP/firstscript.php.
> > Object not found, keep saying Error 404.
> > I need solution please.
>
>
> You need to install that XAMPP package to your
> hard drive, say C:\XAMPP. There's a file called
> readme_en.txt in that folder with the
> instructions. All I did, after reading the file,
> was run 'setup_xampp.bat', and then
> 'apache_start.bat' (this gets the Apache server
> started), and 'mysql_start.bat' (this starts the
> MySQL service). If those are running successfully,
> then you should have no problems accessing the
> localhost.
>
> If this IS all up and running, and it's still not
> working, you probably need to copy your PHP file
> to the 'htdocs' folder in the XAMPP directory.
> This is where the localhost seems to look for any
> PHP files such as the ones we're going to be
> making. So, once you've copied your PHP file
> there, you'd access it by entering
> http://localhost/firstscript.php into your
> broswer. Unless we're meant to make a StudentPHP
> folder, but I couldn't figure out how to do that.
> I read about this in the 2008 forums, and it
> worked for me.

Man, I just realised that after you unzip the file on the Masterskills CD, there's a StudentPHP folder. If you copy this across to the 'htdocs' folder I mentioned, then you've got your localhost/StudentPHP folder. I take it it's meant to be there for the later tasks in the book. I hope this wasn't in the instructions somewhere tongue sticking out smiley
Re: Task 1A / 1B
February 24, 2009 12:57PM
Task 1A and 1B completed without any issues.
avatar Re: Task 1A / 1B
February 24, 2009 04:22PM
Hi All,

I think I am seriously behind, I know I will catch up. Though still having problem with my localhost issue. Let me try your steps as you have instructed.
avatar
Mac
Re: Task 1A / 1B
February 25, 2009 07:10PM
Achonye Wrote:
-------------------------------------------------------
> http://localhost/studentPHP/firstscript.php.
> Object not found, keep saying Error 404.
> I need solution please.

This is not a PHP error - it is an html error. It cannot find the file, or the filename has spaces in it (sometimes you cannot "see" the spaces - start over renaming the file). Does the file c:/xampp/studentPHP/firstscript.php exist?
Re: Task 1A / 1B
February 27, 2009 12:03PM
1A and 1B completed
joined now
March 16, 2009 03:43PM
I did struggle initialy but realise that you need to copy all the files in the same folder or otherwise you will get error 404 not found.
Re: Task 1A / 1B
August 26, 2009 08:35PM
Completed Task1A and 1B without any problem and working on Task2A1
That's Shiang
avatar
Mac
Re: Task 1A / 1B
August 27, 2009 10:02AM
Wrong semester!
Sorry, only registered users may post in this forum.

Click here to login