December 4th, 2001, 08:44 AM
|
#1 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Sweden
Posts: 1,708
| Why doesn't it?
I read through the tutorial about forums with php and mysql at thescripts.com ...downloaded the source for the forum...set it all up with mysql and stuff...but the only thing that's working is the index.php3 page. When I click the link to post a topic I only see the source. Not the actual page. Has anybody done this? I can't find the error...  |
| |
December 4th, 2001, 12:21 PM
|
#2 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
|
What is the file names for the other pages? Are they also .php3? Or perhaps .phtml or .php? |
| |
December 4th, 2001, 01:25 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Sweden
Posts: 1,708
|
Uh nah they're the same, .php3
I'm gonna go through the code tomorrow. |
| |
December 4th, 2001, 05:20 PM
|
#4 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
|
Do you know if the PHP engine is working properly on the server?
if you made a page like ...index.php3
And put in something like:
<?
echo "Hello!";
?>
Load it in the browser, and does it show 'Hello!'? |
| |
December 5th, 2001, 02:14 AM
|
#5 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Sweden
Posts: 1,708
|
Yup did that. Works just fine... |
| |
December 5th, 2001, 12:19 PM
|
#6 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
|
Doh...
Hmm...I'm assuming all the files are in the same directory...
Can you check the files that aren't working and see if they start with:
<?php
or
<?
Or neither? |
| |
December 5th, 2001, 12:26 PM
|
#7 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Sweden
Posts: 1,708
|
Yeh they start with <?php
If you want to look at it yourself there's a zipfile with the code at www.thescripts.com
Thanks for the efforts to help. I appriciate it.  |
| |
December 5th, 2001, 04:15 PM
|
#8 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
|
Could you post me a link to the download or let me know the name of the one you grabbed? I don't want to grab the wrong one...
I'll set it up on my server here and see what happens.. |
| |
December 6th, 2001, 12:31 PM
|
#9 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Sweden
Posts: 1,708
| Here it is...
Thank you so much. I haven't had time to look more at the code...lots to do...  |
| |
December 6th, 2001, 10:20 PM
|
#10 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
|
I've come to the conclusion that view.php3 is the only document that starts with <? and not with <?php ....
While this really shouldn't make a difference, could you try changing the line in view.php3 from <? to <?php
Just for kicks.. =] |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |