PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 20th, 2005, 02:28 PM   #1 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
Problems with new installation uploads

I have installed PhotoPost on our webservers and it runs great with the following exception:

When I go to upload a photo it looks like it is working but no photo is uploaded. I do not get the proccessing screen or the thumbnail screen. The page flashes and brings me right back to the file selection screen.

I am hosted at easycgi.com and am running on Windows 2000 with PHP 4.3.1 and mySQL 4.0.23-nt

I have searched the forums to try to find the cause and have been unsuccessful.

I have checked the usergroups, created a new usergroup with permissions, created new user both admin and not to no avail.

The link to the site is:

http://www.virginiaxriders.com/photopost/

HELP please...

Mike Pensinger
Webmaster - Alternate Virginia X Riders
beermkr is offline   Reply With Quote
Old April 20th, 2005, 02:31 PM   #2 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
oh yeah... using imagemajick but have tried GD1 and GD2
beermkr is offline   Reply With Quote
Old April 20th, 2005, 07:57 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
That to me sounds like file uploads are off if it goes right back to the file upload page doing nothing

Do you have link to php info?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 21st, 2005, 02:10 PM   #4 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
http://www.virginiaxriders.com/photopost/adm-index.php

Checked and file uploads is turned on.

Mike
beermkr is offline   Reply With Quote
Old April 21st, 2005, 02:17 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Make sure to post a link to your php info that we can see. a phpinfo.php file contents is simple this so you can make one yourself

<?phpinfo();?>

Your install sure acts like fileuploads are off. It process's nothing and does not even go to the bulkupload script
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 22nd, 2005, 04:59 PM   #6 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
http://www.virginiaxriders.com/phpinfo.php

There you go... file uploads are on.... Seems I am having a wierd problem here..

Mike
beermkr is offline   Reply With Quote
Old April 22nd, 2005, 06:52 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
HMM only other thing off the top of my head in your php.conf or apache configuration what is the variable LimitBodyRequest set to?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 25th, 2005, 01:14 PM   #8 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
damn good question... what would I find this out?

Mike
beermkr is offline   Reply With Quote
Old April 25th, 2005, 01:32 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
you host. Let me go put together a simple upload script and post it here for you to try and see what happens
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 29th, 2005, 02:33 PM   #10 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
Any status ?
beermkr is offline   Reply With Quote
Old April 29th, 2005, 03:05 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Nothing fancy here just rename the file to testuploads.php and fix in the file the path you want to upload to and the url to the script

Code:
Content visible to verified customers only.
As simple as it gets
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; April 29th, 2005 at 05:52 PM.
Chuck S is online now   Reply With Quote
Old April 29th, 2005, 05:15 PM   #12 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
This is what I get when I tried to run it..

Warning: Invalid argument supplied for foreach() in c:\websites\virginiaxriders401\virginiaxriders.com\testuploads.php on line 11

This is what I have typed in the file:

<form action="http://www.virginiaxriders.com/testuploads.php" method="post" enctype="multipart/form-data">
<p>Pictures:
<input type="file" name="pictures[]" />
<input type="file" name="pictures[]" />
<input type="file" name="pictures[]" />
<input type="submit" value="Send" />
</p>
</form>

<?php
foreach ($_FILES["pictures"]["error"] as $key => $error) {
if ($error == UPLOAD_ERR_OK) {
$tmp_name = $_FILES["pictures"]["tmp_name"][$key];
$name = $_FILES["pictures"]["name"][$key];
move_uploaded_file($tmp_name, "/test/$name");
}
}
?>

Any help would be great... sorry I am a little PHP challenged so far..

Mike
beermkr is offline   Reply With Quote
Old April 29th, 2005, 05:52 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
I have edited the file above try it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 4th, 2005, 11:10 AM   #14 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
What I have in the file

<form action="testuploads.php" method="post" enctype="multipart/form-data">
<p>Pictures:
<input type="file" name="pictures[]" />
<input type="file" name="pictures[]" />
<input type="file" name="pictures[]" />
<input type="submit" value="Send" />
</p>
</form>

<?php
foreach ($_FILES["pictures"]["error"] as $key => $error) {
if ( empty($_FILES) ) exit;
if ($error == UPLOAD_ERR_OK) {
$tmp_name = $_FILES["pictures"]["tmp_name"][$key];
$name = $_FILES["pictures"]["name"][$key];
move_uploaded_file($tmp_name, "/test/$name");
}
}
?>

What I get when it come up in the browser:

Warning: Invalid argument supplied for foreach() in c:\websites\virginiaxriders401\virginiaxriders.com\testuploads.php on line 11

What I get when I try to run it:

Warning: move_uploaded_file(/test/aus_cab_sauv.jpg) [function.move-uploaded-file]: failed to create stream: No such file or directory in c:\websites\virginiaxriders401\virginiaxriders.com\testuploads.php on line 16

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINNT\TEMP\php38E5.tmp' to '/test/aus_cab_sauv.jpg' in c:\websites\virginiaxriders401\virginiaxriders.com\testuploads.php on line 16
beermkr is offline   Reply With Quote
Old May 4th, 2005, 11:18 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
I would ensure your path to save it is right for one.

/test is definately wrong

I would make sure test exists under your webroot with the proper permissions to move files to. Your on a windows server so you need permissions set to 777

the path would be like this

c:\websites\virginiaxriders401\virginiaxriders.com\test

however since you have photopost install and you state permissions are set right why not make your path this

c:\websites\virginiaxriders401\virginiaxriders.com\photopost\data

so that line would be

move_uploaded_file($tmp_name, "
c:/websites/virginiaxriders401/virginiaxriders.com/photopost/data/$name");
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 4th, 2005, 04:34 PM   #16 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 9
That works... It uploaded the files to the data directory...

What next?

Mike
beermkr is offline   Reply With Quote
Old May 4th, 2005, 07:23 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Recheck your install make sure all permissions are in place for both data and uploads directories.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with oversized file uploads digidivakathy Photopost Pro Bug Reports 14 August 31st, 2005 09:49 AM
Installation problems joerns Classifieds Installation & Upgrades 1 February 27th, 2005 09:15 AM
Installation Problems highside Photopost Pro Installation & Upgrades 7 August 9th, 2004 10:54 PM
Installation Problems? memorybugs Photopost Pro Installation & Upgrades 2 July 6th, 2004 09:53 AM


All times are GMT -5. The time now is 02:56 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0