View Full Version : installation trouble,help me~
elttilz
03-21-2009, 02:26 PM
I have an trouble in installation(my version is 1.7.1).
I have done all steps before "Configuration" and all of them is Passed include "Database".
but unfortunately in step "Configuration" only the "Test connection" part is failed... and i have no idea for that .. i have checked "pixelpost.php" that downloaded as the problem, all information is correct.
P.S. My database worked normally. Other program just like WORDPRESS also installed smoothly.
pls help to solve the problem. Much thanks...
Dkozikowski
03-21-2009, 07:51 PM
Check the includes folder permissions as well as the config file permissions.
cjj0457
03-24-2009, 07:04 AM
I'm having the exact same problem.
I get the following error upon reaching 'configuration':
"Something has gone awry while attempting to create, store, and connect with your Pixelpost configuration file!
Have a look below to see if any suggestions have been offered to correct the problem.
If all else fails, please use the download button above to save your configuration file and proceed to manually upload it to your includes/ folder via FTP once you have verified its contents.
Once you have done this, please continue with the installation by re-testing your connection."
Everything is green except the test connection failed.
I have checked permissions.
I have used the download button to generate a proper config file and uploaded it to the includes/ folder.
I have generated my own pixelpost.php file from the sample inserting the proper values were required.
Each time I hit the test connection button and go back to my includes/ folder the pixelpost.php file has mysteriously vanished.
I have started the installation over from the beginning and the test connection works initially every time.
Not sure what step to take next. Thanks for your help.
Chad
elttilz
03-24-2009, 09:28 AM
yeah, my problem is still exist... but i have found some clues
first,my folders' permission r all correct and i can install Pixelpost 1.5 smoothly and it works normally.
following is the screenshot at the problem time:
http://www.oldshanghai.cn/temp/problem_1.jpg
and when i download the config file and open it in dreamweaver , i found that all infomation is correct except the "pixelpost_db_pass" part, my test password is 1111111,but i see that area displayed "1111111('a square')" , i think that is the problem why i cant connect to the database.
And i take a screenshot also:
http://www.oldshanghai.cn/temp/problem_2.jpg
but when i correct the pixelpost.php and upload into the includes folder , if only i click the "test connection" button, then error again and the new pixelpost.php uploaded before is disappeared... so i cant get more step ..
u can download my problem pixelpost.php in following URL
http://www.oldshanghai.cn/temp/pixelpost.zip
hey, stuffs~ pls take a look and help us~~ Much thanks...
localmoments
03-27-2009, 07:53 PM
I'm having the exact same problem as described by elttilz and cjj0457.
My screen looks just like elttilz' - everything is fine, including all the permissions etc ... but I get a "connection failed" error.
I download the pixelpost.php file, verify everything is correct in it, and manually upload it to my includes directory, then try again. The process fails again and when I go to check, the file has completely disappeared.
@Dkozikowski+ - I've checked the includes folder permissions as well as the config file permissions. All is well. Plus - we know that isn't the problem already, because the pixelpost setup program isn't flagging those items. See elttilz' screenshot...
The .php file disappearing after each attempt is probably a good indication of the problem, but what that means I don't know. Does anyone have any thoughts? I'd like to be using this app; I think it's best of breed ... but that's going to be tough if I can't install it...
Dkozikowski
03-28-2009, 12:17 AM
OK. For those of you having trouble with the config file deleting itself after uploading a config file manually, try this:
OPEN the admin/install/install_functions.php file within a standard text editor and edit the file as outlined below:
GOTO line 1256 and find the following code:
@unlink($config_path);
ADD two (2) backslashes in front of the code on line 1256 so the final result looks like this:
//@unlink($config_path);
SAVE and close the file. Upload it to the admin/install/ and overwrite the existing install_functions.php file with the one you just modified.
This will prevent Pixelpost from deleting your file, it will not guarantee a successful connection though. Lets hope for the best...
cjj0457
03-28-2009, 02:52 AM
I did what you said. I found line 1256 and commented out the line with two slashes as shown. Saved and uploaded new file.
It DID fix the problem of the file being deleted every time I get to the Configuration page or test my connection on the config page BUT the connection still fails during configuration. It still works each time during the initial test of the connection.
One problem solved... main problem still exits.
Chad
Dkozikowski
03-28-2009, 02:58 AM
I don't know why it passes the first time and fails the next...
Is it possible you're using special characters in your username/password/db name/etc?
austriaka
03-28-2009, 09:13 AM
The reason for the strange-char-issue may come from a wrong encoding.
When editing the pixelpost.php file, plz make sure you use Unicode encoding and save it in UTF-8, with Linux Line Endings (LF) and without BOM.
You need a text editor which gives you the choice of encoding... like UltraEdit (not free) or Programmers Notebook http://www.pnotepad.org/ which is free
localmoments
03-28-2009, 11:49 AM
@ Dkozikowski - thanks for the tip about commenting out the @ulink line. That did resolve the problem where the pixelpost.php file was being constantly deleted.
Unfortunately, the overall problem remains: all tests pass on the configuration page, except the connection test at the end.
@ austriaka - I took your advice and downloaded Programmer's Notebook. I downloaded and opened pixelpost.php using it - made sure to set encoding to UTF-8, no BOM. When I opened the file I saw an odd character after my database password - it looked like the letters "SI" together in a block. I deleted this character so my password was correct - uploaded the file back to the includes directory - and got the same problem.
What's strange is, when I downloaded the pixelpost.php file to check it again, the "SI" character was back in my password field.
So that explains why the connection test is failing; it's the wrong password. Why is the pixelpost set up inserting this character?
austriaka
03-28-2009, 12:16 PM
This is not the pixelpost set up, it is something that happens when saving or transfering the file.
if your Server is UNIX, make sure you use UNIX style line ending (LF)
if your server is windows, try using windows line ending (CR/LF)
make sure to upload it as ASCII
localmoments
03-28-2009, 12:59 PM
I used the unix LF line ending and FTP'd it up to the server as ASCII ... still the same problem.
Anyway - the problem occurs with the original pixelpost.php file that is written by the Pixelpost setup.
The issue may not be the odd character at all; if that is caused during file transfer, then the original file as written should be working. It's not.
austriaka
03-28-2009, 01:49 PM
try the windows line ending, perhaps your server is windows?
Sorry, but this kind of problem was never reported before, so I can only guess
elttilz
03-28-2009, 02:16 PM
haha ! i m glad to tell all of u , i have just solve the problem !!
The problem is : the right pixelpost.php u uploaded will be deleted when u click "Test connection" button.
So: if program can't delete pixelpost.php u uploaded ,then everything will be fine!! (Dkozikowski 's code revison seems cant do that completely)
step:
1.download the pixelpost.php at "configruation" part
2.open the file and correct the infomation : my problem is the strange-char-issue in "password" part, so i deleted the strange char, then save.
3.upload the right pixelpost.php to includes/
4.(important!!!)change the permission of the new pixelpost.php to "444" (read only)
5.re-click "Test connection" button
6.1,2,3 will be failed,but "test connection"part will be passed!!,then u can contiune the installation and enjoy it!!!
P.S. The strange-char-issue will occur in admin password also , so remember copy the password on screen and use it login, after that, change passoword again:)
haha, hope it helpful!
my site is ok:): www.oldshanghai.cn/photoblog
elttilz
03-28-2009, 02:35 PM
BTW, the way i found is just a petty trick :)
Guys, i think u should find where the problem is and fix it ,then release a fix version.
Because pixelpost is really cool and i really love it . i hope it will be perfect in future~~:)
localmoments
03-28-2009, 03:19 PM
THANK YOU ELTTILZ!
Setting the file permissions to 444 gets you past the configuration page of the install.
You do, as Elttilz points out, also have to reset your admin password to log in the first time.
Give that pixelpost user a beer! Or nine...
Dkozikowski
03-28-2009, 03:54 PM
Pixelpost should NOT delete the config file if you properly revised your code. The line I told you to comment out is the only line in the whole install process that is capable of deleting the config file...
Either way, I'm glad you got it worked out. I'm not sure why you two were having such trouble as this is the first time I've heard of an issue during the install process since Pixelpost was released with it.
Are you both running IIS?
cjj0457
03-29-2009, 11:22 AM
I'm convinced that the password is being modified by pixel post when I click 'test connection' in the configuration screen.
I am editing the file directly on the server and saving it. It is saves correctly and doesn't change until I click 'test connection'.
My host has an online editor. Here is a screen shot of the file with the strange character.
http://cjj0457.brinkster.net/home/connection_file_strange_char.jpg
After removing the character and saving the file and exiting the editor, I view it again to see if the strange character shows up and it is not there. I close out the editor again, click 'test connection', get the connection error and go back and view the file on the server and the strange character is back.
Another reason I know pixel post is editing the file is that the time stamp on the file changes to the exact time of me clicking 'test connection'.
Other Info:
I am using Brinkster as my webhost. Here is a link to my hosting package:
http://www.brinkster.com/Hosting/Pro.aspx
I have Wordpress installed just fine with a very similar looking config file.
I haven't tried changing the permissions of the file yet like the other two gentlemen did but it makes since that it would work. I am still interested in getting to the bottom of this issue.
Any other ideas as to why the software is editing the file by inputting an erroneous character?
Surely it is not just coincidence that 3 people had this problem all in the same couple of days. Could it be that there are others out there having the same problem and just not reporting it... finding another photoblogging solution instead? Just a thought.
I've been photoblogging for about 4 years now and have really done my research into which photoblog software I want to install. After looking at many different solutions over a period of a couple months I settled on Pixel Post because I believe it is the best solution out there.
Dkozikowski
03-29-2009, 03:30 PM
Download this zip package and upload it to your Pixelpost admin/install/ folder overwriting the existing install_functions.php file.
cjj0457
03-30-2009, 08:22 AM
Getting somewhere....
That allowed me to finish the installation. Which I was super excited about. But when I logged in only 3 of the menu's would come up when clicked on; Images, Categories, Comments. When I clicked on, 'New Image', 'Options', 'General Info', or 'Addons' nothing would come up.
Thanks for your help getting me past the install problem. Any idea what might be causing those menu items to be blank when selected?
Thanks!
Chad
Dkozikowski
03-30-2009, 04:17 PM
I'm not sure at the moment. It's odd that you're having so many issues and I apologize. Hopefully we can get you up an running soon.
For now, lets start with the basics:
Download a new Pixelpost zip package from pixelpost.org and re-upload the admin folder to your Pixelpost directory on Brinkster. Maybe some of the files became corrupt during the original download/upload.
jtsmith
04-05-2009, 04:11 AM
Download this zip package and upload it to your Pixelpost admin/install/ folder overwriting the existing install_functions.php file.
I was having the same issue. The new install_functions.php download fixed it for me.
Thx Dkozikowski+
pixelbude
04-05-2009, 08:20 PM
Hi
I have the same problem! :(
After uploading the file from Dkozikowski+, i can't re-start the installation-programm.
Error: The requested language was not found!
?!?
Thanks.
Dkozikowski
04-05-2009, 08:32 PM
You're missing files. Make sure all the files were uploaded.
pixelbude
04-05-2009, 09:14 PM
Ah, it works! Thx!
Covey
04-11-2009, 12:27 AM
Another with the same problem. Very frustrating indeed. Have tried all of the above tips, unsuccessfully.
simpleskye
04-11-2009, 08:38 PM
I'm still having the same issue and have tried everything above. Heh, I even tried a different os with a different ftp client/editor.
So far, the only thing that all my scenarios have in common is my host - Eleven2.
simpleskye
04-11-2009, 08:42 PM
Ok, never-mind. It just started working randomly on its own... *scratches head*
j17photo
04-12-2009, 11:10 PM
Hi all -
I am getting stuck on the "Database Settings" tab. I bought my domain through godaddy.com and they are also hosting my site. When I test my connection under the "Database Settings" tab, I get the following error messages:
Database Connection Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Database Connection Error: Can't connect to MySQL server on 'localhost' (10061)
Please help.
Thanks.
TopWeb
04-13-2009, 10:58 AM
One more, working on it... most of the suggestions here are the wrong way to go about it...
- chmod a file 444 wrong messes bandage approach
- pixelpost.php is written and then supposed to delete itself after it connects to DB and
the tables get set up, for obvious securities reasons.
- the strange character is a truncation symbol because the memory assigned to the byte is the wrong size and type basically
- The database pass deletes itself if the pass is numerical only. It adds a character if the pass is alphanumerical
- the table are not begin created and populated with data
So we are in the install.php file, somewhere between a good test connect and a messes something that does all this before the db tables are sql'ed to the setup.
Enjoy
Dkozikowski
04-13-2009, 12:40 PM
Hi all -
I am getting stuck on the "Database Settings" tab. I bought my domain through godaddy.com and they are also hosting my site. When I test my connection under the "Database Settings" tab, I get the following error messages:
Database Connection Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Database Connection Error: Can't connect to MySQL server on 'localhost' (10061)
Please help.
Thanks.
GoDaddy does not use localhost.
Please use the correct information when setting up your database.
Dkozikowski
04-13-2009, 12:43 PM
As for everyone else, download the install_functions.php file found in post # 19 of this thread (http://www.pixelpost.org/forum/showpost.php?p=65308&postcount=19). Once downloaded and unzipped, upload the containing file to your Pixelpost admin/install/ folder overwriting the existing install_functions.php file.
This *should* fix any problems with the install.
tovergaard
04-15-2009, 08:07 PM
Experiencing all the same problems as described here I solved the problem the ugly way:
Commenting out line 1256 in install_functions.php as suggested by another poster prevented my config-file being deleted. Still getting that weird character appended to my db-password, I hard coded my password into line 1145 in the same file. Like this:
$config_data .= "\$pixelpost_db_pass = \"mypassword\";
I never got a chance to try the updated install-functions.php which was posted here, as I did not have the patience to wait the two days from registering on the forum, to actually receiving my activation email :-)
Best regards - and thanks for an otherwise excellent piece of software :)
/Thomas
cjj0457
04-15-2009, 08:43 PM
Download a new Pixelpost zip package from pixelpost.org and re-upload the admin folder to your Pixelpost directory on Brinkster. Maybe some of the files became corrupt during the original download/upload.
So... I did this on March 31st to no avail. In fact... I completely deleted my pixelpost directory and uploaded all the files again from a fresh download from the pixelpost website. Same problem existed that had been there before. So, I gave up.
However, today, I tried it again, without changing anything and it worked like a charm. Must have been a ghost in the system.
Anyway... I'm looking forward to getting up and running now. I'm transferring my old photoblog to this one... Thanks for your help. And your AutoResize AddOn... I didn't realize that wasn't standard until I uploaded my first pic.
Chad
Dkozikowski
04-17-2009, 04:35 PM
Experiencing all the same problems as described here I solved the problem the ugly way:
Commenting out line 1256 in install_functions.php as suggested by another poster prevented my config-file being deleted. Still getting that weird character appended to my db-password, I hard coded my password into line 1145 in the same file. Like this:
$config_data .= "\$pixelpost_db_pass = \"mypassword\";
I never got a chance to try the updated install-functions.php which was posted here, as I did not have the patience to wait the two days from registering on the forum, to actually receiving my activation email :-)
Best regards - and thanks for an otherwise excellent piece of software :)
/Thomas
Does it really take two days to register on the Pixelpost forum?
Also, are you on windows hosting by any chance?
KaarelAr
04-18-2009, 11:08 AM
I have still the same problem, tried everything. All the suggestions from this thread are useless to my portal. I have installed there phpbb 3, wordpress, all kinds of cms's but this is the hardest nut to crack. Please (i mean the pixelpost crew), solve the problem. Thanks :D
KaarelAr
04-18-2009, 11:17 AM
I have still the same problem, tried everything. All the suggestions from this thread are useless to my portal. I have installed there phpbb 3, wordpress, all kinds of cms's but this is the hardest nut to crack. Please (i mean the pixelpost crew), solve the problem. Thanks :D
Did it after a hour again and it works, nice work pixelpost.
Francisco
04-21-2009, 06:41 AM
Download this zip package and upload it to your Pixelpost admin/install/ folder overwriting the existing install_functions.php file.
Thanks this fixed the problem one of my clients was having with his install not going thru on one of our servers.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.