forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: lucky-luc on March 18, 2013, 08:39:39 pm

Title: Can't add new album
Post by: lucky-luc on March 18, 2013, 08:39:39 pm
Since I move to iPAGE, I can not add new album, the icon for the exif disapear and the arrow in the film strip also dissapear.
It was a fresh install from iPAGE. Anyone has a clue?
www.lucky-luc.ca (http://www.lucky-luc.ca)
Title: Re: Can't add new album
Post by: Αndré on March 19, 2013, 01:30:51 pm
What's iPAGE? I assume you installed Coppermine via an auto-installer? If so, please read this document (http://documentation.coppermine-gallery.net/en/auto-installers.htm).
Title: Re: Can't add new album
Post by: lucky-luc on March 19, 2013, 10:27:55 pm
Thank you Andre, I was afraid of an answer like that, but I guess that's how it is. I will keep away from auto installer from now on.
iPAGE is a website hosting, a very good one with a superbe service.
Title: Re: Can't add new album
Post by: lucky-luc on March 21, 2013, 04:45:31 am
I have install manually this time the latest version from your site a new database and I still cant create an album.
Title: Re: Can't add new album
Post by: lucky-luc on March 21, 2013, 04:59:47 am
The problem seems to be in the theme I have change, the problem is solved when I revert to the original theme.
Title: Re: Can't add new album (solved)
Post by: lucky-luc on March 21, 2013, 10:02:57 am
The problem was those script I added in the head section of the template.html. the opacity script stop me from adding new album, and those for google analytic did the rest.

<script type = "text/javascript">
var opacity = 0;
function fadein(){
var fadeImg = document.getElementById('fadeImg');
var browserName=navigator.appName;
if(browserName=="Microsoft Internet Explorer"){
browserOpacity = opacity / 10;
fadeImg.filters.alpha.opacity = browserOpacity;}
else{
browserOpacity = opacity / 1000;
fadeImg.style.opacity = browserOpacity;}
if(opacity < 1000){
initiate();}
}
function initiate(){
opacity++;
setInterval("fadein()", 200);}
initiate();
</script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25591413-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
Title: Re: Can't add new album
Post by: Αndré on March 21, 2013, 10:30:32 am
So this issue is solved?
Title: Re: Can't add new album
Post by: lucky-luc on March 25, 2013, 05:52:17 pm
Yes solved
Title: Re: Can't add new album
Post by: Αndré on March 25, 2013, 07:50:55 pm
Marking accordingly. Next time, please do that yourself as described in the board rules.