Webmastersite.net
Register Log In

opendir error editing template

submitlink.tpl

Comments on opendir error editing template

scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 05, 2006 - 7:50 AM:

Hi

I was trying to edit the suggestlink.tpl template through admin, but I got the following error when I tried to submit the changes:

Warning: opendir(../templates/default/custom/): failed to open dir: No such file or directory in /home/username/public_html/wsn/admin/admincommonfuncs.php on line 272

Permissions on the suggestlink.tpl file are 666

I did a default install of 3.3.19, and there is no /templates/default/custom/ directory. The only directories at that location are:

/templates/default/admin/
/templates/default/images/

Should I just add a /custom/ directory?

/templates/default/custom/

Many thanks smiling face
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 07, 2006 - 6:49 PM:

You should reupload everything -- if your FTP upload somehow skipped one directory, it may have skipped others. (The directory always has been and always will be there.)
scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 08, 2006 - 6:48 AM:

I should have mentioned which file I downloaded.

I originally downloaded the bz2 version, not the zip.

I just now downloaded both to compare. The zip file contained the custom dir, but the bz2 file did not. It looks like the bz2 version also does not have the javascript dir, but zip does. I haven't looked further into it, though.

BTW, I'm using ZipGenius:

http://www.zipgenius.it/eng/index.php

HTH
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 09, 2006 - 5:33 PM:

Both directories are there in the 3.3.19 .tar.bz2 file which has been available all this month. Just checked for you. "ZipGenius" must be broken or misconfigured software -- sounds like it skips all empty directories. I can't test it since it's a Windows program.

When I was on Windows I used 7-zip and didn't have any problems with bz2, though that was 4 years back and things may have changed.
scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 10, 2006 - 5:40 AM:

Wow, this is an eye-opener. I'll have to see if ZG has some setting for skipping empty dirs...hmmmm

Thanks, Paul smiling face
scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 10, 2006 - 6:28 AM:

Just tried 7-zip....yep, those dirs were in there....it's 7-zip for me smiling face

Thanks
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.