Newbie - for real! Just getting started!
Posted 02 July 2006 - 02:44 PM
I uploaded the site to the internet and I see the site and all the links work fine however, I can not edit the pages :-\. I have tried to load several applications on my computer to make the PHP work. I want to start from scratch.
Is there someone willing to help? Or can you lead me to step by step help for a newbie, I am willing, ready and eager to do the work but there is something I am not understanding. ??? Is there a way to see the pages like I do when working in Dreamweaver with HTML files?
I thank you for your time in advance.
Posted 02 July 2006 - 03:58 PM
Posted 02 July 2006 - 07:26 PM
When I downloaded, "XAMPP" I let it go to the default directory (C:\Program Files\xampp) and I did no configuration because it says it does not need it. However Dreamweaver does. My website files are here: C:\ghani_website_test\shop
Can you help me configure Dreamweaver to use the server?
Posted 03 July 2006 - 02:00 AM
server model to "PHP MySQL"
Testing server folder "C:\Program Files\xampp\ghani_website_test\shop" ...same as your local info folder
URL Prefix: http://localhost/gha...bsite_test/shop OR http://localhost:80/...bsite_test/shop OR http://localhost:808...bsite_test/shop depending on which one you configured xampp to be.
Now when you preview a php file it should pop right up in your primary browser.
Let me know if you run into anything else
Posted 03 July 2006 - 12:25 PM
I am getting the same message I have gotten since I started:
I am getting error 404(file not found):
“occurred while attempting to request the file http://localhost/gha...x_qf2a1tsah.php from test server.
Here are some possible reasons for the problem:
1)Files in the “C:/Program files/” folder that have “.php” file extension are not being executed by the testing server.
2) The c:/Program Files/” folder does not map to the http://localhost/gha...site_test_shop/ URL on the testing server. Verify that the URL Prefix maps to the root of you site
Would you like to change the location of the testing server?”
I tested with the URL prefix set to: "Localhost80"… and “localhost8080” and recived the same error. I returned the local host back to “localhost/…
Here are the rest of my settings:
Local root folder: C:\Program Files\xampp\ghani_website_test\shop\
Default images: C:\Program Files\xampp\ghani_website_test\shop\images\
Refresh local file list and enable cache
Remote folder: C:\Program Files\xampp\ghani_website_test\shop\
Server model: PHP/MySQL
Testing folder: C:\Program Files\
URL Prefix: http://localhost/gha...site_test/shop/
I am not sure if the following is necessary or important. While installing the servive ports for Apache = 80 & 443
MySQL port – 3306
Site Map Layout:
Homepage: C:\Program Files\xampp\ghani_website_test\shop\index.php
The site map home page was first set to "...\index.html" and I changed that to the above and still receive the same message.
Do see anything wrong with these settings?
Posted 04 July 2006 - 10:47 AM
I changed the path however, I keep getting the same message. Is there something else I am suppose to besetting up before this will work or should this be the first and only thing, remember this is a ecommerce site. However, all I want to do he is be able to see the pages so I can edit the text and change the pictures from my computer.
Posted 04 July 2006 - 02:54 PM
[attachment deleted by admin]
Posted 04 July 2006 - 03:23 PM
Since I am new to this please explain: How do people who need to edit .php pages usuallu edit them I can't believe they program the pages and then have to upload them to look at there changes.
Whem I see the code in the pages, unlike html, I do not see the images in the code. I will assume (and will look around at the other files), that they are bing fed into the index pages since will will need to be changed regularly. Like I said, I was able to get the site to work when I up loaded the template, however, it took some work for me to finally get that.
Any other pointers? If I could find a secure ecommerce html site, I would use that but I don't think that would be the way to go if one intends to progress with their online business. the site is located at www.alfurqanonline.com
I still appreciate your help and hope you have more suggestion, I have no problem doing the work!
Posted 04 July 2006 - 05:14 PM
Now to test this has worked, by opeing your web browser and typing in the following:
Do you get anything displayed in the web browser?
Also try http://localhost/ on its own too. What do you get?
Posted 04 July 2006 - 05:56 PM
I moved the file and then typed: http://localhost/ghani_website_test/
I got the following on the screen:
Index of /ghani_website_test
Name Last modified Size Description
Parent Directory -
shop/ 02-Jul-2006 15:34 -
Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4 Server at localhost Port 80
Using: http://localhost/ takes me to the XAMPP for Windows page
When I select: "shop/", I get the following:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Program Files\xampp\htdocs\ghani_website_test\shop\index.php on line 39
When I went back to Dreamweaver, I had to reset the setting to point to the site since I moved it and I received the attached error message, basically the same as before.
I will wait for your response before I do anything else.
[attachment deleted by admin]
Posted 04 July 2006 - 06:20 PM
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Program Files\xampp\htdocs\ghani_website_test\shop\index.php on line 39Is to do with an error within index.php on line 39. Could you post lines 30 - 40 from index.php here for us to review it for what can be causing this.
Posted 04 July 2006 - 10:03 PM
When the power returned, the index file was corrupt. I replaced it with the original and now I get this error when I test the site:
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Posted 05 July 2006 - 10:33 AM
Posted 05 July 2006 - 05:29 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users