Webmastersite.net
Register Log In

Templates location error

Comments on Templates location error

fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003

Total Topics: 23
Total Comments: 106
fresco
Posted Jun 10, 2008 - 7:54 PM:

this is what i get when try to revert to default admin templates, it looks for admin templates foleder here

templates/default/admin when it is there templates/admin - i am doing auto upgrades:




Warning: ftp_site() [function.ftp-site]:]/.../.../public_html/link_directory/includes/filefunctions.php[/b]]158[/b]

Warning: fwrite(): supplied argument is not a valid stream resource in /.../.../public_html/link_directory/includes/filefunctions.php on line 535

Warning: ftp_site() [function.ftp-site]:/.../.../public_html/link_directory/includes/filefunctions.php[/b]]158[/b]

Warning: fopen(../templates/default/admin/searchlog.tpl) [function.fopen]:]/.../.../public_html/link_directory/includes/filefunctions.php[/b]]536[/b]

Warning: fwrite(): supplied argument is not a valid stream resource in /.../.../public_html/link_directory/includes/filefunctions.php on line 536

Warning: fopen(../templates/default/admin/searchlog.tpl) [function.fopen]:]/.../...//public_html/link_directory/includes/filefunctions.php[/b]]537[/b]

Warning: fwrite(): supplied argument is not a valid stream resource in /.../.../public_html/link_directory/includes/filefunctions.php on line 537
Cannot write to the file ../templates/default/admin/searchlog.tpl! You must chmod it to 666.
Warning: fclose(): supplied argument is not a valid stream resource in /.../.../public_html/link_directory/includes/filefunctions.php on line 539
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 10, 2008 - 10:26 PM:

You've provided and incorrect FTP path at Admin -> Settings -> System.

Your file path to your attachments directory may also be wrong.
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003

Total Topics: 23
Total Comments: 106
fresco
Posted Jun 11, 2008 - 2:01 AM:

actually the path is/should be correct --public_html/link_directory--

file structure

public_html/link_directory/templates/default
public_html/link_directory/templates/admin

but the script looks in:

public_html/link_directory/templates/default/admin

and sure enough cant find admin templates cause they are not in default folder...


upgrade does work (or at least it says so) - it is just revert-to on admin templates does not
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 11, 2008 - 4:17 AM:

You haven't specified your version number... I'll mark that field as required from now on. Please provide it, there's no way I can say anything useful when I have no idea what code you're running.
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003

Total Topics: 23
Total Comments: 106
fresco
Posted Jun 12, 2008 - 12:28 AM:

forgot, sorry - Your WSN Links 4.1.47 is up to date.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 13, 2008 - 1:20 AM:

Fixed for 4.1.48.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.