RE: [SMARTY] More PHP 4.2 / Smarty compatibility problems/RE: [SM ARTY] OS X Problems -- again?
| From: | Rasmus Mohr | Date: | Mon, 13 May 2002 07:16:17 +0000 |
| Subject: | RE: [SMARTY] More PHP 4.2 / Smarty compatibility problems/RE: [SM ARTY] OS X Problems -- again? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4178@lists.php.net to get a copy of this message | ||
I've experienced similar problems on a Linux/PHP 4.2.0 platform - it seems
to be a PHP 4.2.0 problem??
Any workarounds for those unable to change the PHP installation?
> -----Original Message-----
> From: Mitch Vincent [mailto:mitch@unixprogramming.net]
> Sent: Monday, May 13, 2002 8:24 AM
> To: smarty-general@lists.php.net
> Subject: [SMARTY] OS X Problems -- again?
>
>
> Ok, I just started using OS X this week (got a nice new
> Powerbook!).. Things
> were going great until this evening. I have installed PHP
> 4.2.0 , Smarty
> 2.1.0 and apache 1.3.23
>
> The web server is running as the same user that owns the
> entire web tree and
> as if that weren't enough, the whole web tree is 777. All of
> the sudden, I
> get all these :
>
> Warning: stat failed for
> /Users/mitch/www/www.rvparts.com/mvc/templates_c/117/1172603085/0.php
> (errno=13 - Permission denied) in
> /Users/mitch/www/www.rvparts.com/mvc/Smarty.class.php on line 860
>
> Warning: stat failed for
> /Users/mitch/www/www.rvparts.com/mvc/templates_c/117/117260308
> 5 (errno=13 -
> Permission denied) in
> /Users/mitch/www/www.rvparts.com/mvc/Smarty.class.php
> on line 1459
>
> Warning: mkdir() failed (Permission denied) in
> /Users/mitch/www/www.rvparts.com/mvc/Smarty.class.php on line 1459
>
> Warning: Smarty error: problem creating directory
> "/Users/mitch/www/www.rvparts.com/mvc/templates_c/117/1172603085" in
> /Users/mitch/www/www.rvparts.com/mvc/Smarty.class.php on line 548
>
> Warning: Smarty error: problem writing
> '/Users/mitch/www/www.rvparts.com/mvc/templates_c/117/11726030
> 85/0.php.' in
> /Users/mitch/www/www.rvparts.com/mvc/Smarty.class.php on line 548
>
> Warning: Failed opening
> '/Users/mitch/www/www.rvparts.com/mvc/templates_c/117/11726030
> 85/0.php' for
> inclusion (include_path='.:/usr/local/lib/php') in
> /Users/mitch/www/www.rvparts.com/mvc/Smarty.class.php on line 643
>
>
> I changed no permissions, restarted nothing, didn't do
> *anything* at all and
> this started happening after I accessed a script (for about
> the 400th time
> today, since I've been working on it).
>
>
> Anyway.. Any idea on this one? Seems like it's a PHP thing
> rather than a
> Smarty thing as I'm absolutely 100% positive that the webserver can
> write/read/execute to those directories (I had sure by
> logging in as that
> user and trying!).
>
> Thanks!!
>
> -Mitch
> -----Original Message-----
> From: Jason Sweat [mailto:jsweat_php@yahoo.com]
> Sent: Wednesday, May 08, 2002 11:12 PM
> To: Smarty General
> Subject: [SMARTY] More PHP 4.2 / Smarty compatibility problems
>
>
> At work, I had my Unix admin rebuild PHP and after
> install on HP-UP 10.2 we received:
>
> Warning: stat failed for templates_c/209/2092131859
> (errno=13 - Permission denied) in
> /pkg/prdcrm/apache/php/lib/php/Smarty.class.php on
> line 1462
>
> Warning: mkdir() failed (Permission denied) in
> /pkg/prdcrm/apache/php/lib/php/Smarty.class.php on
> line 1462
>
> Warning: Smarty error: problem creating directory
> "templates_c/209/2092131859" in
> /pkg/prdcrm/apache/php/lib/php/Smarty.class.php on
> line 546
>
> Warning: Smarty error: problem writing
> 'templates_c/209/2092131859/0.php.' in
> /pkg/prdcrm/apache/php/lib/php/Smarty.class.php on
> line 546
>
> Warning: Failed opening
> 'templates_c/209/2092131859/0.php' for inclusion
> (include_path='.:/pkg/prdcrm/apache/php/lib/php') in
> /pkg/prdcrm/apache/php/lib/php/Smarty.class.php on
> line 641
>
> which looked suspiciously like the Mac OS X errors
> reported in an earlier thread.
>
> I am running PHP 4.2.0 at home on a RedHat Linux 7.2
> box without any problems.
>
> We rolled back to 4.1.1 and are running fine.
>
> FYI
>
> Jason
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--------------------------------------------------------------
Rasmus T. Mohr Direct : +45 36 910 122
Application Developer Mobile : +45 28 731 827
Netpointers Intl. ApS Phone : +45 70 117 117
Vestergade 18 B Fax : +45 70 115 115
1456 Copenhagen K Email : mailto:rmo@netpointers.com
Denmark Website : http://www.netpointers.com
"Remember that there are no bugs, only undocumented features."
--------------------------------------------------------------