Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 03-02-2006, 01:53 PM
ego-s Offline
pp regular
 
Join Date: Feb 2006
Location: London
Posts: 21
I totally missed the part where it says : not only open index.php after switching on error reporting but also test the category plugin ( ... i'm a noob, i know )

error for most and last : Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /mywebsite/../meta_categories.php on line 120

errors for clouds : Warning: Wrong parameter count for max() in /mywebsite/../meta_categories.php on line 174

Warning: Wrong parameter count for min() in /mywebsite/../meta_categories.php on line 174

Warning: Invalid argument supplied for foreach() in /mywebsite/../meta_categories.php on line 179

thx in advance
__________________
ego-pixel - powered by Pixelpost 1.5RC

Last edited by ego-s; 03-02-2006 at 09:56 PM.
Reply With Quote
  #12  
Old 03-09-2006, 10:02 AM
ego-s Offline
pp regular
 
Join Date: Feb 2006
Location: London
Posts: 21
Any clues so far? I'd love this plug to run.
Do you think it depends on the sql version?
__________________
ego-pixel - powered by Pixelpost 1.5RC
Reply With Quote
  #13  
Old 03-09-2006, 10:07 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Oops! forgot about this - sorry - yes looks like your MySQL is not supporting the REPLACE INTO query to be exact


PHP Code:
$query "REPLACE INTO {$pixelpost_db_prefix}views(parent_id,ip,this_month) VALUES ('$image_id', '{$_SERVER['REMOTE_ADDR']}',$this_month)"
This query is not getting executed - can you have your MySQL upgraded and try again?
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #14  
Old 03-09-2006, 10:44 AM
ego-s Offline
pp regular
 
Join Date: Feb 2006
Location: London
Posts: 21
it's working
I didn't want to upgrade at first, because I cannot go back to the previous version (without reinstalling) ... so, you know this "never change a running ..."

but hey ... it's working

thx!
__________________
ego-pixel - powered by Pixelpost 1.5RC
Reply With Quote
  #15  
Old 03-10-2006, 08:42 AM
iphimeda Offline
pp regular
 
Join Date: Jan 2006
Location: Belgium
Posts: 32
Send a message via MSN to iphimeda
Nice. I like the idea. Going to test it on my photoblog next week. =)
__________________
http://www.iphimeda.be
Reply With Quote
  #16  
Old 05-01-2006, 01:20 PM
Ubbe's Avatar
Ubbe Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Denmark
Posts: 151
hey i'm having same problem as ego, what do you mean by upgrading mysql??
__________________
Best Regards
Ubbe - UbbeDall.dk | Photoblog
Reply With Quote
  #17  
Old 05-01-2006, 11:28 PM
ego-s Offline
pp regular
 
Join Date: Feb 2006
Location: London
Posts: 21
I was able to upgrade the mysql-Version in use by my Pixelpost installation via the admin interface of my webspace. I changed from 3.23.58 to 4.1.14 and it's working now ( http://ego-s.net/pixel/index.php?x=meta&z=lastviewed ).

So it all depends on your hoster
__________________
ego-pixel - powered by Pixelpost 1.5RC
Reply With Quote
  #18  
Old 05-02-2006, 05:21 PM
Ubbe's Avatar
Ubbe Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Denmark
Posts: 151
my db currently runs on 4.0.24 and i can't upgrade it so this means i can not use the meta tags "last viewed" & "most viewed"?
__________________
Best Regards
Ubbe - UbbeDall.dk | Photoblog
Reply With Quote
  #19  
Old 05-02-2006, 06:25 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
In MySQL manual there is info that REPLACE statement can be replaced with INSERT ... ON DUPLICATE KEY UPDATE which is available as of MySQL 4.1.0 :/

http://dev.mysql.com/doc/refman/4.1/en/replace.html
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #20  
Old 05-03-2006, 04:01 PM
Ubbe's Avatar
Ubbe Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Denmark
Posts: 151
Thanks for the link GeoS, i looked on it, but i simply can't find out what exactly to do, is there any chance you could like "cut it out" for me.? hehe
__________________
Best Regards
Ubbe - UbbeDall.dk | Photoblog
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:26 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs