Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 20, 2009, 11:27:18 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Maintenance release cpg1.4.25 - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix an issue with http uploads that could occur in particular versions of PHP.The fix is not security-critical, so if your gallery is running fine with cpg1.4.23 or cpg1.4.24 you don't need to upgrade. If you are running an older version than cpg1.4.23, you must update to this latest version as soon as possible because of the security impact (the past few maintenance releases before cpg1.4.24 all were security-related).
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 2 3 [4]   Go Down
  Send this topic  |  Print  
Author Topic: Photo of the Day/Week, with Archive  (Read 28064 times)
0 Members and 1 Guest are viewing this topic.
JaymzM
Coppermine newbie

Canada Canada

Posts: 1


« Reply #60 on: July 14, 2009, 05:18:52 am »

Hello all, new to Coppermine and I must say it's awesome, thank you to everyone's hard work, Great Job.

I have been using the latest version and it works great (as long as you read all the doc's...learned the hard way)

I've been using the latest version of potw plugin, it loaded great, installed nice and loaded the first pic great.
However on the second week I went to change the potw, following the instructions closely I received this error

While executing query "REPLACE INTO babyrae_coppermine_siteplugin_potd (`pid`,`potw`,`potw_date`) VALUES ('178','1','1247542651')" on 0

mySQL error: Field 'potd_date' doesn't have a default value

File: C:\Inetpub\wwwroot\babyrae\include\functions.inc.php - Line: 250 

I went into mySQL and changed babyrae_coppermine_siteplugin_potd 'potw_date' to 'As Defined' and everything started working again.

Not sure if this will help anyone else but it worked for me, keep up the good work guys.

Jaymz  Grin
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45047


aka "GauGau"


WWW
« Reply #61 on: July 14, 2009, 09:10:43 am »

You shouldn't be running mysql in strict mode unless you understand what that means.
To permanently fix that in your install, assign a default value to the column the error message complains about (using phpMyAdmin or similar). To permanently fix this is the plugin package, edit schema.sql, and replace the content with
Code:
CREATE TABLE IF NOT EXISTS `CPG_plugin_potd` (

  `pid` INT(11) NOT NULL,

  `potd` TINYINT(3) DEFAULT '0' NOT NULL,

  `potd_date`  varchar(14) DEFAULT '' NOT NULL,

  `potw` TINYINT(3) DEFAULT '0' NOT NULL,

  `potw_date`  varchar(14) DEFAULT '' NOT NULL,

PRIMARY KEY  (`pid`)

);
This will of course only have an impact if you uninstall and re-install the plugin.
Logged
jimi007
Coppermine newbie

Pakistan Pakistan

Posts: 14


« Reply #62 on: September 12, 2009, 04:43:58 am »

i also facing problem that no thumbnail shown for both potd/potw  what should i do plz help and tell how to manually add pictures to potd/potw archive thnkx i follow all step as in readme and also add hack to function file .
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45047


aka "GauGau"


WWW
« Reply #63 on: September 14, 2009, 03:10:44 pm »

This is your ultimate and final warning: you have been told so often already about board rules that it hurts, e.g. in
Learn to respect board rules first.
You are banned from posting for a week. Next ban will be permanent if you don't play by the rules from now on.
Logged
Pages: 1 2 3 [4]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.07 seconds with 21 queries.