Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine ⇒ modifyalb.php problem


modifyalb.php problem
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page Previous  1, 2, 3
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine

View previous topic :: View next topic  
Author Message
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Aug 08, 2011 9:11 am
Post subject: Re: modifyalb.php problem

Ok... I noticed on my other site (chantillyexpat) that the validator is telling me that there is a BOM mark, but I don't know where it is! There isn't on my other site but this bug appears on both sites anyway!


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
Back to top
View user's profile Visit poster's website
InspectorClueNo
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 26, 2008
Posts: 211

PostPosted: Mon Aug 08, 2011 11:24 pm
Post subject: Re: modifyalb.php problem

if the BOM mark is found in all pages look in the most edited files eg: header.php, index.php and everything in the /includes folder ... config, cmsinit ...


InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
none available
Back to top
View user's profile Visit poster's website
greenday2k
Forum Admin
Forum Admin

Offline Offline
Joined: Aug 11, 2005
Posts: 489
Location: CO
PostPosted: Tue Aug 09, 2011 12:47 am
Post subject: Re: modifyalb.php problem

OK,the script is supossed to find and fix any BOM marked file.

BTW I've checked www.chantillyexpat.com with teh w3c validator and theres a BOM marked file on your site.

validator.w3.org/check...ator%2F1.2

If this happening using the default theme then is possible that the BOM marked file (hoping is just 1) is a PHP one.

As InspectorClueNo Said check for the common files, my first candidate is /includes/meta.php

If you're using the Geany editor to edit your files is so easy to tell if the BOM mark is present on a file. But weird, since the script is supossed to detect and fix those marked files.

Is it happening on ALL versions of IE9?

BTW, tested that script and failed to detect and fix a file on my site, to fix the problem go to line 20 on the cBOM.php file and find:

define('BOM', '');

And replace it to:

define('BOM', b"\xEF\xBB\xBF");

It at least detect NOW the BOM marked files but is not fixing the files and also solves the warning at line 57.

_________________
www.greenday2k.net


greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Tue Aug 09, 2011 3:05 pm
Post subject: Re: modifyalb.php problem

Aha... So the only file it found with the BOM (that is relevant anyway - it also found one in random quotes which explains it showing up on the CE homepage) was in themes/default/style/adminblocks.css. I've saved it without the BOM and at the moment it seems to have fixed the modifyalb problem. I'll test on another pc and see if it has fixed it...

Interestingly that file was one I downloaded from here I think so may be worth checking the repository.

And thanks again greenday2k - fab little script. Would have taken me forever otherwise!


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
Back to top
View user's profile Visit poster's website
greenday2k
Forum Admin
Forum Admin

Offline Offline
Joined: Aug 11, 2005
Posts: 489
Location: CO
PostPosted: Tue Aug 09, 2011 3:45 pm
Post subject: Re: modifyalb.php problem

Don't worry ;D I'll be happy to see this issue solved.
update us with new problems/fixes to mark this topic as solved.

Test it not logged as Admin too, also just logged as regular user (editing his own album).

The script was written by jhoseini, I've just updated it.

dragonflycms.org/Forum...04/#146804

_________________
www.greenday2k.net


greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Apr 02, 2012 12:02 pm
Post subject: Re: modifyalb.php problem

I've just been looking at this again as it is still not fixed. I have checked for BOM files (default/styles/adminblocks.css downloaded from this site had one) but no change. I have tried the change to my template files but just get an error saying unexpected = sign, and I have tried changing the modifyalb.php file and that made no difference.

This is a problem in IE9 alone I think but, short of trying a new browser, is there something that can fix it?


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine
Page 3 of 3
All times are GMT
Go to page Previous  1, 2, 3



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

อ่านต่อ...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy