|
RE: [SMARTY] discovering the full path on shared unix host: msg#00414php.smarty.general
Graham, I didn't, but this would've helped. I'll keep your script handy now, that's for sure. I finally did figure out what the problem was - through the brute force method - once I determined the full path to my files on the server (used PHP's apache_lookup_uri() command) and got Smarty to initialize properly, I realized that the include file containing my db, user, & passwd was not getting included. No DB access, no pages. The host had all debugging turned off, so I ended up var_dumping everything until I found the mysql error. BTW, The 'linkalize' modifier is going to help me immensely too - thanks for sharing, Nichlas Löfdahl! I truly appreciate all the help from this list! In return I'm posting some code that has made my job easier. GY> Did you put GY> ini_set('display_errors', TRUE); GY> ini_set('error_reporting', E_ALL); GY> at the start of your php script? -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | AW: [SMARTY] input in flex scanner failed (omission): 00414, Mirek Novak |
|---|---|
| Next by Date: | [SMARTY] Avoid unnecessary whitespace in compiled templates?: 00414, Lars Noschinski |
| Previous by Thread: | RE: [SMARTY] discovering the full path on shared unix hosti: 00414, Hoffman, Geoffrey |
| Next by Thread: | [SMARTY] Emails and URLs in smarty template content: 00414, Aliba Sora |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |