Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 08-28-2005, 06:50 PM
lysip Offline
forum loafer
 
Join Date: Aug 2005
Posts: 5
Install issues

While installing, specificly in the par that create's the table's
Code:
create_tables.php:216
// Timezone support, the 0 will be included automatically, so no need to insert
	$tz = date("Z")/3600; // set the default timezone value equal to the server timezone
	mysql_query("
	ALTER TABLE `{$prefix}config` ADD `timezone` FLOAT DEFAULT '".$tz."' NOT NULL
	") or die("Error: ". mysql_error());
	echo "Added timezone support...<p />";
I get can not connect errors... it seems to try and default to the localhost ip and not my mysql server which is on a diffrent machine. Im not sure if this is a php/mysql error or a script error, tho it seems your scripts are fine as best i can tell. If anybody has an answer to this let me know.

P.S. Forgot to say that its not just that line its all the ALTER TABLE querys in that file.
Reply With Quote
  #2  
Old 08-28-2005, 06:55 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
did you modify pixelpost.php to include the location of your remote database?
Reply With Quote
  #3  
Old 08-28-2005, 06:58 PM
lysip Offline
forum loafer
 
Join Date: Aug 2005
Posts: 5
Yes of course, it create's all the tables and such except for those in the 1.4 section, erm well it dies when it gets to them but if i remove the die from the commands and run it then it skips over it and die's on the next one.
Reply With Quote
  #4  
Old 08-29-2005, 08: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
Which MySQL version do you have??

It seems that your DB can't figure out with its update code :/
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #5  
Old 08-30-2005, 12:53 AM
lysip Offline
forum loafer
 
Join Date: Aug 2005
Posts: 5
newest mysql 4, my shell admin just receptly updated.
Reply With Quote
  #6  
Old 08-30-2005, 08:45 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
1. Give us exect version!
4.0.x??

2. Give us exact PHP/MySQL error!

PS Remember: place in code where is error is nothing helpful without error message!!
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #7  
Old 09-01-2005, 07:43 PM
lysip Offline
forum loafer
 
Join Date: Aug 2005
Posts: 5
I do not know as i do not run it on my own server... and php is in safemode i think with phpinfo() blocked... samething with mysql... except i knwo he just recently updated his mysql. and i know its php 4 something.... I also noticed that its not connecting on those querys to the remote database, its defaulting to localhost i think... not sure about the localhost ip but its diffrent then my mysql database ip.

all the info i can give you is right there...

*EDIT* ahh and yes i am useing phpbb2 atm with no problems... so it would seem to be your scripts...
Reply With Quote
  #8  
Old 09-01-2005, 08:03 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
If you have same DB for phpbb2 and pixelpost then put same data to /includes/pixelpost.php.
If it still doesnt work write back to us here.

PS Maybe you dont have permissions to add new tables in your DB??
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #9  
Old 09-01-2005, 08:09 PM
lysip Offline
forum loafer
 
Join Date: Aug 2005
Posts: 5
It creates the tables, it just has errors on alter tables... i might not have permision for thjat i guess... my pixelpost.php file is how it shoudl be... exact info that i need and such... i can view the tables in phpmysqladmin... there all set up except for teh alter table querys... the only orther way i can think of getting it working is to manualy add them to the db but its just not worth it to do that... seeing as there are many orther similer scripts out there similar to this one... I just thought i would use the best... but until i resolve this im stuck with something else..
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 01:36 AM.

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