21
toolsmythe
Re: xcgal problem
  • 2005/2/20 16:02

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


xcgal requires one of the following graphics packages in order to render the thumbnails:

GD 1.x
GD 2.x
Netpbm
Image Magick


There are two settings on the admin page for this. One specifies which graphics package you are using; the other specifies the path to that package.

Don't assume from that message that GD is not supported. Talk to your host and find out which package they support and where it's located.

JP



22
toolsmythe
Re: XOOPS 2.0.7.x to 2.0.9.2 disasters
  • 2005/2/13 15:41

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


I bit the bullet yesterday and upgraded from 2.0.7.x to 2.0.9.2. It went just fine.

I decided to do it in two steps, 2.0.7.x to 2.0.9 and then 2.0.9 to 2.0.3.

The only problems I had were:

- When I created my new mainfile.php I missed defining my XOOPS_ROOT_PATH (my fault), so at first it couldn't serve up any pages because it couldn't find any source files.

- Next I started serving up white screens. Turning site debugging on showed me that smarty was complaining that it couldn't write to templates_c. For some reason the permissions on that directory were 755 and should have been 777. I don't know if act of installing could have somehow changed this (I doubt it - not touched) or if the previous version of smarty didn't care about this and the new version does. Anyway, I did a chmod to 777 and then got the same complaint on the cache directory. Same solution there and I was rockin' in the free world.

The 2.0.9 to t.0.9.2 upgrade was trivial and uneventful by comparison.

The FAQ on Why do I have a blank white page on my site? was invaluable.

Also, make a full copy of your website and a full backup of your database before you do anything. I actually had switched hosting companies just before doing this, so I knew from experience that I could bring my site back from backups in under two hours if I needed to. That gave me the confidence to go ahead and try the upgrade.

I saw enough horror stories in this thread; thought I post something positive .

JP



23
toolsmythe
Re: XOOPS 2.0.7.x to 2.0.9.2 disasters
  • 2005/1/13 22:50

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


I guess I was a bit unclear on what I diff'ed.

I did a diff on mainfile.dist.php between 2.0.7 and 2.0.9.2. There were differences.

I assumed that mainfile.dist.php was the template that the install uses to create mainfile.php. If that's the case, why wouldn't I need to merge the differences between 2.0.7 and 2.0.9.2 versions of mainfile.dist.php into my mainfile.php.

JP



24
toolsmythe
Re: XOOPS 2.0.7.x to 2.0.9.2 disasters
  • 2005/1/13 6:13

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


I downloaded the 2.0.7 to 2.0.9.2 upgrade yesterday and was starting to look into installing it.

I stopped when I saw that there was a new mainfile.dist.php and in compairing the two, there are differences. I assume that means I will need to merge these differences into my mainfile.php?

I downloded the zip version; there were no install instructions whatsoever, at least none that I found.

Pardon the dumb questions; I'm new to XOOPS and this will be my first upgrade.

Reading this thread has, naturally, frightened me.

I copied my site last night and am planning on taking a full DB backup before upgrading; is there anything else I need to consider?

JP



25
toolsmythe
Re: I would like a module that can do a countdown ticker
  • 2004/12/20 5:26

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


I just implemented one on my site. Javascript based, in a custom HTML block:

You will need to define a <DIV> with an ID="countdownTextArea" where you want the countdown.

<script type="text/javascript">
<!--
   function 
getTime()
   {
      var 
textArea self.document.getElementById"countdownTextArea" );

      if ( 
textArea == null )
      {
        
alert"Text Area Not Found!!!" );
        return;
      }

      
currenttime = new Date();



      
//The next line is the target countdown value
      //It is based on LOCAL TIME to the countdown value
      
targettime = new Date"January 1 2005 00:00:00" );

      
dcdays = ( targettime currenttime ) / 1000 60 60 24;
      
dcdaysRound Math.floordcdays );
      
dchours = ( targettime currenttime ) / 1000 60 60 - ( 24 dcdaysRound );
      
dchoursRound Math.floordchours );
      
dcminutes = ( targettime currenttime ) / 1000 60 - ( 24 60 dcdaysRound ) - ( 60 dchoursRound );
      
dcminutesRound Math.floordcminutes );
      
dcseconds = ( targettime currenttime ) / 1000 - ( 24 60 60 dcdaysRound ) - ( 60 60 dchoursRound ) - ( 60 dcminutesRound );
      
dcsecondsRound Math.rounddcseconds );

      
// This formats the countdown text.  You can change this to do it any way you like.
      
textArea.innerHTML fillTextdcdaysRound2"0" 
                         + 
checkPlural" Day"dcdaysRound 
                         + 
", " 
                         
fillTextdchoursRound2"0" 
                         +  
checkPlural" Hour"dchoursRound 
                         + 
", " 
                         
fillTextdcminutesRound2"0"dcminutesRound 
                         + 
checkPlural" Minute"dcminutesRound 
                         + 
"<BR>and " fillTextdcsecondsRound2"0" 
                         + 
checkPlural" second"dcsecondsRound );
      
      if ( 
currenttime >= targettime )
      {
         
// This is the message when the target datetime is hit.  Make sure the countdown string format matches
         // The one above.
         
textArea.innerHTML "00 Days, 00 Minutes, 00 Hours<BR>and 00 Seconds<BR><BR><B>Happy New Year!!</B>";
         return;
      }


      
newtime window.setTimeout"getTime();"1000 );
   }


   function 
checkPluralnounvalue )
   {
      
noun = ( value == ) ? noun noun "s";
      return ( 
noun );
   }


   function 
fillTexttextlengthfillChar )
   {
      
// If someone knows an esier way to do this
      // please post it.  This seems like an awful
      // lot of work to left fill a string.  It
      // *DOES* work though <grin>
      
var counter 0;
      var 
localFillChar fillChar.toString();
      var 
tempText text.toString();

      while ( 
tempText.length length )
      {
         
tempText localFillChar.toString() + tempText.toString();
         if ( 
counter length )
         {
            break;
         }
      }

      return ( 
tempText );
   }

//-->
</script>

<
DIV ALIGN="center" STYLE="font-size: x-small;">
<
B>The magic happens in ....</B><BR>
</
DIV>
<
DIV ID="countdownTextArea" ALIGN="center" STYLE="font-size: xx-small;">
</
DIV>
<
script type="text/javascript">
<!--
self.document.onLoad getTime();
//-->
</script>



26
toolsmythe
Re: The problem with Norton and Xoops
  • 2004/12/6 1:03

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


I have had several users complain about not being able to post to my forum and not one that could not register. I registered for him with no problem and he was able to get in.

He was logged into my site - I saw him in the list of active users. Yet later when I looked at user stats it claimed he had never logged in.

I also believe he tried to vote in a poll and it was not registered.

I had another user unable to upload a photo to the photo album, but that may have been a size issue.

Thanks for teh hack. Will implement it immediately!!

JP



27
toolsmythe
Re: Editing Templates
  • 2004/11/29 3:05

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


Hervé -

Thanks so much!! That did it!!

JP



28
toolsmythe
Editing Templates
  • 2004/11/28 18:58

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


I think I'm missing something very basic because I'm running into the same problem in multiple places. Here's an example:

I wanted to make a change to the news block template news_block_new.html.

I tried doing it in Blocks admin. I clicked on Edit Template, made my change, clicked View, looks good. Problem is, it didn't save it and there doesn't seem to be a save button in that dialog.

OK, I sez to myself. No problem. I make a local copy of news_block_new.html, make my mods, and FTP it back.

Not only aren't the changes reflected in the block, but when I go back to Blocks admin and click Edit Template, my changes aren't there either. However, if I pull back news_block_new.html from /modules/news/templates/blocks, my changes *ARE* there.

Thinking this might be caching, I cleared out templates_c. No joy.

What am I missing?

Any help much appreciated!!

JP



29
toolsmythe
Re: mainfile.php and DB Connection Info
  • 2004/11/28 7:41

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


Thanks for the link.

Certainly better, but not ideal. 60% of all attacks happen within the firewall (i.e. employees or other "trusted" resources).

Critical information like login IDs and passwords should be encrypted no matter where they are kept. The hosting company I use does not allow their support staff to know my database ID's/passwords. They can look at my files however, and - oops!! - there they are in plain view.

As a consultant, it would now be difficult for me to recommend XOOPS to a client for a mission-critical site for this very reason.

I hope to see this in a future release. XOOPS is an excellent CMS; there are others that are not as nice that have this feature (postNuke comes to mind).

This is in no way a criticisim of the product or the development team; as I said in my original post, XOOPS stood out head and shoulders above other CMS implementaions I played with. I just have a nagging concern about security now, and I hope to see it addressed at some point.

Thanks again for your timely response!!

JP



30
toolsmythe
Re: NewBB - Time zone offsets - relative, not absolute
  • 2004/11/28 7:12

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


A related question (in that it is about time-zones):

I don't see any support for areas (such as Arizona) that do not use daylight savings time.

Are there any plans to support that in future releases?

JP




TopTop
« 1 2 (3) 4 »



Login

Who's Online

278 user(s) are online (185 user(s) are browsing Support Forums)


Members: 0


Guests: 278


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits