Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #161  
Old 04-18-2008, 09:37 PM
tdphoto Offline
forum loafer
 
Join Date: Apr 2008
Posts: 2
Send a message via AIM to tdphoto
This is just the add-on I've been looking for! However I can't begin to use it

As soon as I turn it "On," it returns the message
Quote:
Originally Posted by PixelPost
MySQL server has gone away
and I can't get to the add-on page again unless I delete geos_show_category.php from the add-ons folder.

I'm using PP 1.7.1, and Mysql 5.0.16. Any help?

Thanks,
Tim
Reply With Quote
  #162  
Old 05-03-2008, 02:14 PM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
I am using 1.7, I don't know if I have setup the addon correctly or not, I have encountered the following problem:

I have changed all image previous/next tags to SC_ ones. And refreshing the image page, it works great. If i click the thumbnails of the thumbnail row, it still works fine.

But after clicking the previous or next arrow on the image, it redirects to the previous or next image without categorizing. The thumbnail row shows thumbnails that in other categories (ie, all thumbnails from all categories) again.

How come and how can I fix it? Has the addon not fit to version 1.7 yet?

Thanks.
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
  #163  
Old 05-03-2008, 04:28 PM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
Let me give more info, i don't know if it is the issue of my template?

I am using delicious_v1_1 template, not sure if this javascript causes the problem, the codes are changed with the new tags of Geos Show Category:



<script type="text/javascript">
function browsing(){ var existprev = "<SC_IMAGE_PREVIOUS_ID>"; var existnext = "<SC_IMAGE_NEXT_ID>";
if (existprev != "<IMAGE_ID>"){
document.write('<a href="#" id="menu_browse_prev" onclick="document.location=\'index.php?showimage=< SC_IMAGE_PREVIOUS_ID>\';"></a>');
} if (existnext != "<IMAGE_ID>"){
document.write('<a href="#" id="menu_browse_next" onclick="document.location=\'index.php?showimage=< SC_IMAGE_NEXT_ID>\';"></a>');
} }
</script>
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
  #164  
Old 06-19-2008, 10:29 PM
Messiah Khan Offline
forum loafer
 
Join Date: Jun 2008
Posts: 15
Quote:
Originally Posted by tdphoto View Post
This is just the add-on I've been looking for! However I can't begin to use it

As soon as I turn it "On," it returns the message


and I can't get to the add-on page again unless I delete geos_show_category.php from the add-ons folder.

I'm using PP 1.7.1, and Mysql 5.0.16. Any help?

Thanks,
Tim

Ive also come across the same problem. Im using pp 1.7.1 with Mysql 5.0.22. As soon as I add the latest version of the addon into the addon folder and try and add it in the admin panel, SQL falls over with the
Quote:
MySQL server has gone away
error. I can then no longer access my site or admin panel until my wehost restarts the sql server. Any ideas of what's cauing the problem and how to fix it GeoS?
Reply With Quote
  #165  
Old 06-20-2008, 08:48 AM
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
Quote:
Originally Posted by ranmajen View Post
<script type="text/javascript">
function browsing(){ var existprev = "<SC_IMAGE_PREVIOUS_ID>"; var existnext = "<SC_IMAGE_NEXT_ID>";
if (existprev != "<IMAGE_ID>"){
document.write('<a href="#" id="menu_browse_prev" onclick="document.location=\'index.php?showimage=< SC_IMAGE_PREVIOUS_ID>\';"></a>');
} if (existnext != "<IMAGE_ID>"){
document.write('<a href="#" id="menu_browse_next" onclick="document.location=\'index.php?showimage=< SC_IMAGE_NEXT_ID>\';"></a>');
} }
</script>
Try to change it to:
Code:
<script type="text/javascript">
	function browsing(){		var existprev = "<SC_IMAGE_PREVIOUS_ID>";		var existnext = "<SC_IMAGE_NEXT_ID>";
			if (existprev != "<IMAGE_ID>"){	
				document.write('<a href="#" id="menu_browse_prev" onclick="document.location=\'index.php?showimage=<SC_IMAGE_PREVIOUS_ID&category=<SC_CAT_ID>>\';"></a>');
					}		if (existnext != "<IMAGE_ID>"){			
					document.write('<a href="#" id="menu_browse_next" onclick="document.location=\'index.php?showimage=<SC_IMAGE_NEXT_ID>&category=<SC_CAT_ID>\';"></a>');
							}	}
							</script>
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #166  
Old 06-20-2008, 08:52 AM
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
Quote:
Originally Posted by Messiah Khan View Post
Ive also come across the same problem. Im using pp 1.7.1 with Mysql 5.0.22. As soon as I add the latest version of the addon into the addon folder and try and add it in the admin panel, SQL falls over with the error. I can then no longer access my site or admin panel until my wehost restarts the sql server. Any ideas of what's cauing the problem and how to fix it GeoS?
To check it I need access to your server. I cant reproduce this error.

My test platform:

PHP-version 5.2.4 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 5.0.45-community-nt (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.34 compatible) with JPEG support
File Uploads to Pixelpost site are possible.
Server Software Apache/2.2.6 (Win32) SVN/1.4.5 DAV/2 PHP/5.2.4
EXIF Pixelpost is using exifer v1.5 for EXIF-information.

There is no special SQL statements which could take down SQL server until its edition is buggy, misconfigured or some alpha/beta edition. IMO there is some DB error, not addon error (as you are first person, which I know, with such problem).
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #167  
Old 06-20-2008, 08:54 AM
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
Quote:
Originally Posted by tdphoto View Post
This is just the add-on I've been looking for! However I can't begin to use it

As soon as I turn it "On," it returns the message


and I can't get to the add-on page again unless I delete geos_show_category.php from the add-ons folder.

I'm using PP 1.7.1, and Mysql 5.0.16. Any help?

Thanks,
Tim
Where exactly do you get this error? Can I get access to this server to check what is going on?

Im using the latest (or almost the latest) revision of PP with additional tunes up and all is working fine.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #168  
Old 06-21-2008, 07:06 AM
Dr.Ozdi's Avatar
Dr.Ozdi Offline
pp regular
 
Join Date: Mar 2007
Location: Czech republic, Europe
Posts: 47
Just question...is there possibility after click on link to browse_template page with tag <THUMBNAILS> have page in the first moment without thumbnails? Thumbnails will show after click to something else...I canīt change link to browse_template like this "index.php?x=browse&pagenum=1"
I use on the same page list of keywords, list of categories and Multiphoto addon and its a quite many photos for first view and makes a mess.
Thanks for this addon.
__________________
Dr.Ozdi
Dr.Ozdi takes a photos, photoblog
Reply With Quote
  #169  
Old 06-22-2008, 11:09 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
The easiest is to switch to paged mode. Somehow it solves problem of too much thumbs to load.
Giving answer straight to your question - there is such option but it need additional coding.

PS Other option is to set Browse link to non existing tag i.e. index.php?x=browse&tag=Choose category

PS 2 Just a sec ago Ive tested PP 1.7.1 at Messiah Khan place and all seems to work as it should (MySQL is still running).
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #170  
Old 06-23-2008, 11:08 AM
Messiah Khan Offline
forum loafer
 
Join Date: Jun 2008
Posts: 15
Quote:
Originally Posted by GeoS View Post
PS 2 Just a sec ago Ive tested PP 1.7.1 at Messiah Khan place and all seems to work as it should (MySQL is still running).
Just tested it on my main site and it fell over again

Edit; I can confirm its not a conflict between addons, as I removed all the other addons and tried it on its own. Same problem. Im also able to bring the sql server back by removing the plugin and waiting a while.

Quote:
Connect DB Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) Cause #2
Is the error it produces when it falls over. Anyone have any suggestions as to what is causing this?

Last edited by Messiah Khan; 06-23-2008 at 12:11 PM.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:29 PM.

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