1
Peccavi
Dead Links on Index page is now a Smarty Error
  • 2004/12/14 10:35

  • Peccavi

  • Just popping in

  • Posts: 17

  • Since: 2004/12/12


Like many in this forum... after what appeared a clean initial install, I have a dysfunctional index page.

My setup: Apache 2.0.52 PHP 4.3.9 SQL 4.1.7
Running on a Win XP

XOOPS 2.0.7.3

Newbies need this link, it should be in an obvious place
https://xoops.org/modules/smartfaq/faq.php?faqid=80

Without being able to logon, I now set Xoops's debug on.
Getting to the error message is the first step to solution

Warning [Xoops]: Smarty error: unable to read template resource: "db:system_block_login.html" in file Xoops_Physical_Path\class\smarty\Smarty.class.php line 1042

Warning [Xoops]: Smarty error: unable to read template resource: "db:system_block_mainmenu.html" in file Xoops_Physical_Path\class\smarty\Smarty.class.php line 1042

Might anyone lend me a clue?

Peccavi

2
m0nty
Re: Dead Links on Index page is now a Smarty Error
  • 2004/12/14 11:00

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


make sure folders:

cache, uploads & Templates_c are writable.. (chmod 777)

3
Peccavi
Re: Dead Links on Index page is now a Smarty Error
  • 2004/12/15 3:12

  • Peccavi

  • Just popping in

  • Posts: 17

  • Since: 2004/12/12


Quote:

m0nty wrote:
make sure folders:

cache, uploads & Templates_c are writable.. (chmod 777)


You might want to sharpen that sword...
How would I chmod on a Win XP system w/fat32

The file structure is set the way the zip dist set them. The folders themselfs all are read only but the files in them are writable. The install wizard found the files to be writable.

The only real permissions on this local server is setup by Apache.


Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi .pl
AllowOverride All
Order allow,deny
Allow from all


There are no .htaccess files in XOOPS path

Any thoughts?

Peccavi

4
JMorris
Re: Dead Links on Index page is now a Smarty Error
  • 2004/12/15 3:27

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Quote:
The folders themselfs all are read only but the files in them are writable.


The templates_c and cache folders must be writable. Remove theat read-only attribute on those folders. The read only attribute was set when the archive was compressed, on Windows, you have to remove it on extraction sometimes.

BTW... FAT32 on XP?! YIKES! Please tell me it's to share files with dual-booted Linux distro. Seriously though, if you're going to run your box as a web server, convert that file system to NTFS so you can have some proper permissions on it. That, and FAT32 is not as efficient as NTFS.

5
Peccavi
Re: Dead Links on Index page is now a Smarty Error
  • 2004/12/15 13:34

  • Peccavi

  • Just popping in

  • Posts: 17

  • Since: 2004/12/12


Quote:


The templates_c and cache folders must be writable..


I was mistaken, the folders are all writable
and still I have this problem.

template_c currently has 2 files besides the index.html
( default%2Ftheme.html & default%2Ftheme_blockleft.html )

Quote:
BTW... FAT32 on XP?! YIKES!.



Quote:
if you're going to run your box as a web server, convert that file system to NTFS so you can have some proper permissions on it.


I do agree :) This test box in the corner is not webable.

I have evaluated 5 CMS's this week and this is the only one I haven't been able to get running :(

Why do I think this is the one I want?

Peccavi

6
Peccavi
Re: Dead Links on Index page is now a Smarty Error
  • 2004/12/15 18:59

  • Peccavi

  • Just popping in

  • Posts: 17

  • Since: 2004/12/12


in class/smarty/Smarty.class.php turned on debugging

var $debugging = true;

Smarty finds these includes

default/theme.html
default/theme_blockleft.html
default/theme_blockleft.html

but fails to find these

db:system_block_login.html
db:system_block_mainmenu.html

Can anyone tell me where they come from?

Thanks in advance ... Peccavi

7
m0nty
Re: Dead Links on Index page is now a Smarty Error
  • 2004/12/15 19:05

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


they shud get written to templates_c folder

you'll see as:
db%3Asystem_block_mainmenu.html

8
Peccavi
Re: Dead Links on Index page is now a Smarty Error
  • 2004/12/16 1:20

  • Peccavi

  • Just popping in

  • Posts: 17

  • Since: 2004/12/12


Guess if I want XOOPS to work for me I'll either need to change my environment or dig into the code. It seems many newbies run into this glitch, suspect there is something needed dug for.

db%3Asystem_block_mainmenu.html

Can some one point me to where this is created
I will find time this next week to explore
Any assistance will be welcome.

Peccavi

Login

Who's Online

299 user(s) are online (250 user(s) are browsing Support Forums)


Members: 0


Guests: 299


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits