An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/autoupgrade.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/bulkcategories.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/bulkfeeds.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/bulklinks.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/email.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/templatesorig.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/upgrade1.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
Why did you specify 5.0 beta 6? I guess I'll just ignore that and presume you're talking about beta 10...
Let's find out what you and babrees have in common. I'm guessing you're running PHP in apache mode (777 permissions)? Do you have FTP info entered at Admin -> Settings -> System? Are you sure that info is correct? If it's not entered, and you are in apache mode, there's your chmod problem.
jez wrote: Illegal template name: templates/default/main.tpl
The security precaution added in 4.1.58 and 5.0 beta 10 seemed to cause issues with the 'view email logs' in the admin panel on some servers even though it's flawless on localhost, so I removed it from 4.1.58 in an update a few hours after the original release. Due to the nature of betas, no immediate beta updates are planned. You can open classes/template.php and delete the line
. Haven't seen anything on the front page like that on any server though. Are you running something like the custom template anywhere hack?
jez wrote: You can see why I would let a series of upgrades go by without upgrading to them - in case this sort of thing happens.
It's not especially sane to use beta versions on highly critical sites, anyhow. I'm sticking with the 4.1 series for the customer downloads area for now, for example... and for this support forum (though that'll change shortly).
I recall you commissioned the level-based selector, a hefty new feature which was bound to introduce bugs and so couldn't go in the 4.1 series. If your site's stability is that important though, you can't ask for the cutting edge at the same time -- you have to wait a few months longer for new features than the adventurous do.
By the way, upgrading once a month or every 2 or 3 months is just fine if there are no security updates involved and you don't mind the bugs that your version has (in the case of these betas, there are of course tons of major bugs -- so many that I don't list the fixes, since any beta can be presumed to have dozens of fixes). I do frequent releases for the sake of the people who do want their pet bug that 1% of users care about fixed now. It's when you wait a year or three that the upgrade becomes much, much harder.
I'll consider ways I can mark updates with different priorities.
You're also free to test each update on a replicated version of the site before applying it to the live site if you feel that's warranted. Design your upgrade procedures to fit your needs.
You should open classes/template.php with a text editor or your FTP client, not with the admin panel. Or email me and I'll email you the file to upload.
Thanks - I'd be scared that I would lose some of the changes that I paid Paul to make. Hopefully Paul has another solution but I suspect that it will come to this.
You can't get the same message if you removed that line. This means you weren't able to remove the line. Presumably your FTP client isn't able to save the changes because it doesn't own the file -- this will happen in apache mode without suexec. Delete the file and reupload it. If you can't delete it either, and you can't get to the chmod utility, ask your host to chmod or delete the file for you. You should also ask your web host to use suPHP so that you can edit your files and so you don't have to enter FTP info.
5.0 Beta 11 has all of the features 5.0 Beta 10 has, nothing removed, no need to worry about losing changes. You won't be able to upload files manually (at least until after deleting them) for the same reason you can't edit files manually, though, so you'll want to deal with the one file instead of with hundreds.
Ok, thanks for the template file. I did delete the line - I don't really understand why thta didn't work (even though you explained it!)
I got the following message:
If you are not the administrator of this site, please report this page to the administrator. If you are the administrator, please pay careful attention: You have a parse error in your template templates/default/main.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 1894 of the output.Line #1889: Line #1890: Line #1891: Line #1892:
Comments on Upgrade errors
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
I got the following errors on upgrading to the current version from the last:
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:03:58. Please relay this data to support. Error #2: 'chmod() [function.chmod]: Operation not permitted' in /home/accommod/public_html/includes/commonfuncs.php on line 2624.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/autoupgrade.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/bulkcategories.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/bulkfeeds.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/bulklinks.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/email.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/templatesorig.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
An error occoured at www.accommodation-uk.net/up...datetemplates=1&fromfree=0 on 2008-08-01 09:04:09. Please relay this data to support. Error #2: 'copy(templates/admin/upgrade1.tpl) [function.copy]: failed to open stream: Permission denied' in /home/accommod/public_html/includes/filefunctions.php on line 21.
Jez.
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
I forgot to add the important detail that the site is down with the following error:
Illegal template name: templates/default/main.tpl
Right at the busiest time of the year for the site
You can see why I would let a series of upgrades go by without upgrading to them - in case this sort of thing happens.
Please advise asap on how to fix.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Why did you specify 5.0 beta 6? I guess I'll just ignore that and presume you're talking about beta 10...
Let's find out what you and babrees have in common. I'm guessing you're running PHP in apache mode (777 permissions)? Do you have FTP info entered at Admin -> Settings -> System? Are you sure that info is correct? If it's not entered, and you are in apache mode, there's your chmod problem.
Illegal template name: templates/default/main.tpl
The security precaution added in 4.1.58 and 5.0 beta 10 seemed to cause issues with the 'view email logs' in the admin panel on some servers even though it's flawless on localhost, so I removed it from 4.1.58 in an update a few hours after the original release. Due to the nature of betas, no immediate beta updates are planned. You can open classes/template.php and delete the line . Haven't seen anything on the front page like that on any server though. Are you running something like the custom template anywhere hack?
You can see why I would let a series of upgrades go by without upgrading to them - in case this sort of thing happens.
It's not especially sane to use beta versions on highly critical sites, anyhow. I'm sticking with the 4.1 series for the customer downloads area for now, for example... and for this support forum (though that'll change shortly).
I recall you commissioned the level-based selector, a hefty new feature which was bound to introduce bugs and so couldn't go in the 4.1 series. If your site's stability is that important though, you can't ask for the cutting edge at the same time -- you have to wait a few months longer for new features than the adventurous do.
By the way, upgrading once a month or every 2 or 3 months is just fine if there are no security updates involved and you don't mind the bugs that your version has (in the case of these betas, there are of course tons of major bugs -- so many that I don't list the fixes, since any beta can be presumed to have dozens of fixes). I do frequent releases for the sake of the people who do want their pet bug that 1% of users care about fixed now. It's when you wait a year or three that the upgrade becomes much, much harder.
I'll consider ways I can mark updates with different priorities.
You're also free to test each update on a replicated version of the site before applying it to the live site if you feel that's warranted. Design your upgrade procedures to fit your needs.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Added a release priorities indicator system:
Low priority
Normal priority
High priority
Critical priority
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Paul,
I can't seem to login to the admin to change anything:
Illegal template name: templates/default/admin/password.tpl
You have the current user and pass if you want to take a look.
Jez.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You should open classes/template.php with a text editor or your FTP client, not with the admin panel. Or email me and I'll email you the file to upload.
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Paul, I deleted the line and uploaded but nothing still. What else can I try?
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Paul, I deleted the line and uploaded but nothing still. What else can I try?
You could try downloading the latest version (beta 11) and manually upload the files (excluding your templates) and then run upgrade.php.
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Thanks - I'd be scared that I would lose some of the changes that I paid Paul to make. Hopefully Paul has another solution but I suspect that it will come to this.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You can't get the same message if you removed that line. This means you weren't able to remove the line. Presumably your FTP client isn't able to save the changes because it doesn't own the file -- this will happen in apache mode without suexec. Delete the file and reupload it. If you can't delete it either, and you can't get to the chmod utility, ask your host to chmod or delete the file for you. You should also ask your web host to use suPHP so that you can edit your files and so you don't have to enter FTP info.
5.0 Beta 11 has all of the features 5.0 Beta 10 has, nothing removed, no need to worry about losing changes. You won't be able to upload files manually (at least until after deleting them) for the same reason you can't edit files manually, though, so you'll want to deal with the one file instead of with hundreds.
Attached Files:
Forum Regular
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 32
Total Comments: 130
Ok, thanks for the template file. I did delete the line - I don't really understand why thta didn't work (even though you explained it!)
I got the following message:
If you are not the administrator of this site, please report this page to the administrator. If you are the administrator, please pay careful attention: You have a parse error in your template templates/default/main.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 1894 of the output.Line #1889:
Line #1890:
Line #1891:
Line #1892: