TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-23-2009, 05:34 PM   #21 (permalink)
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

Quote:
Originally Posted by allworknoplay View Post
Ok, I was just going to say, it could be the short tags.

I know that PHP6 is discontinuing the short tags, I'm not sure if PHP5 supports it or not....

Anyways, can you create a simple test file and see if the PHP works?

Create a file called: test.php

And in it just type this:


Code:
<?php

$test = 'test';

echo $test;

?>
Let me know what you get...what we want to do is forget about the Zend framework. We need to see if Apache itself is configured correctly for PHP..
PHP6 isn't discontinuing short_open_tags, its however been proposed that we remove the asp_tags option, but its not decided yet. short_open_tags have been default to Off in a forever now.

Quote:
Originally Posted by allworknoplay View Post
How is your htaccess configured? Because you're in windows it might be a problem.

I am having issues right now getting mine to work, so I have to backtrack and thoroughly read the instructions...
Chances that its an error with the operating system in something as core as this is extremely low and must be a rather misconfiguration.

Quote:
Originally Posted by allworknoplay View Post
Take a look at your apache config and see where it looks for .htaccess.

See, in linux, it's called .htaccess. But with Windows you might have to call it htaccess.txt and then tell your config to look for that instead of the default .htaccess.

Also check your log files and see what the error_log says....
No, you need to name it .htaccess on both systems, you just need to save the filename in quotes in an editor or rename it using CMD.



As for the real question, if you are using Zend Framework I would assume that since .phtml isn't set by default for php, and since ZF can be used on shared hosts then internally ZF would use eval() on the code, but I've never worked with ZF so I can't tell so its rather just a theory that the problem lies in a misconfiguration in ZF itself without knowing for sure.
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
Old 03-23-2009, 07:07 PM   #22 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by Kalle View Post
As for the real question, if you are using Zend Framework I would assume that since .phtml isn't set by default for php, and since ZF can be used on shared hosts then internally ZF would use eval() on the code, but I've never worked with ZF so I can't tell so its rather just a theory that the problem lies in a misconfiguration in ZF itself without knowing for sure.
But it's really weird, since I just downloaded the ZF and followed the Quick Start Guide :/
I didn't touch any configuration, nor did the guide tell me that I had to do anything
__________________
Tanax is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zend Studio code completion framework Devels General 1 09-06-2008 05:04 PM
Zend Framework in Action (book) freenity The Lounge 2 04-06-2008 11:12 AM
Zend Framework 1.5 Devels Libraries & Extensions 5 03-17-2008 03:06 PM
Zend Framework - questions questions abiko Advanced PHP Programming 4 02-29-2008 12:46 AM
Zend Framework Karl General 13 10-24-2007 04:19 PM


All times are GMT. The time now is 09:06 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design