PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
frtaz
New Member
New Member


Joined: Nov 10, 2005
Posts: 6

PostPosted: Sat Nov 12, 2005 11:37 am Reply with quote Back to top

I have a question for someone today about ePhotoVote 2.5 with phpnuke 7.6. It is not showing the Photos at all it is showing the RED X. I am also geting these error messages too. Can ePhotoVote 2.5 work with phpnuke 7.6?

This Is the first code I got when you click on the Photovote link on the home page of the site.
Warning: mysql_data_seek(): Offset 0 is invalid for MySQL result index 177 (or the query data is unbuffered) in /home/www/public_html/Home/modules/PhotoVote/index.php on line 41

This is the code I get when you try to upload a Photo.
Warning: copy(Array): failed to open stream: No such file or directory in /home/www/public_html/Home/modules/PhotoVote/upload.php on line 33

This is what I get when I try to go on to the admins page
No no-valid records

It did tell me that i need to CHMOD pollPhotos to 777this is where the photos ar uploaded at. and I did

The link to my site is [admin removed due to policy]
It is an Adult Site

This is the link to where I downloaded it at
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16648
Location: Kansas

PostPosted: Sat Nov 12, 2005 11:52 am Reply with quote Back to top

I would think this is the key to your problem
No such file or directory in /home/www/public_html/Home/modules/PhotoVote/upload.php

That clearly states that you are missing a file or the file has the wrong permissions. Due to my policies, I have removed your link. I do appreciate you warning everyone though Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
frtaz
New Member
New Member


Joined: Nov 10, 2005
Posts: 6

PostPosted: Sat Nov 12, 2005 12:11 pm Reply with quote Back to top

I have tried to CHMOD some file and I reuploaded the file and I still the same thing.

Thank you for taking down the link and not the post. I did not see that in the rules the first time.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16648
Location: Kansas

PostPosted: Sat Nov 12, 2005 12:14 pm Reply with quote Back to top

It probably is not there. I will add it if it's not. It's a personal standard/policy, no offense meant Smile

So you are positive that the upload.php file exists in a folder called Home/modules/PhotoVote/upload.php? *nix is case sensitive. Make sure that the folder/file is EXACTLY spelled correctly.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
frtaz
New Member
New Member


Joined: Nov 10, 2005
Posts: 6

PostPosted: Sat Nov 12, 2005 3:00 pm Reply with quote Back to top

yes I check it And the upload.php is in the PhotoVote folder. and the pollPhoto folder is CHMOD to 777 oh and I did upload the SQL.file by phpMyAdmin also

no offense was taken, I did not want to step on anyones feet that is why I put it as an Adultsite.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16648
Location: Kansas

PostPosted: Sat Nov 12, 2005 3:40 pm Reply with quote Back to top

If you would like to PM me your
site url, adminid/pass
ftp url, id/pass

I will take a look later when I have some time.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16648
Location: Kansas

PostPosted: Sat Nov 12, 2005 10:13 pm Reply with quote Back to top

Sorry, I misread that error message. Warning: copy(Array): failed to open stream: No such file or directory in /home/www/public_html/Home/modules/PhotoVote/upload.php on line 33 is saying that the copy instruction at line 33 if(copy("$userfile", "$Root/$id.$imageType")) is not able to be executed. The copy command attempts to copy file1 -> file2, or in this case, $userfile -> $Root/$id.$imageType. The fact that it says copy(Array) would imply that $username is not a file, but an array. You need to add some debug code to upload.php.

Presently your line 33 reads if(copy("$userfile", "$Root/$id.$imageType")). Insert this line of code on line 32 -
echo '$userfile = '.$userfile.'<br />Destination = '."$Root/$id.$imageType";
die();


Now when you try the upload again you should see what the problem is.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
frtaz
New Member
New Member


Joined: Nov 10, 2005
Posts: 6

PostPosted: Sat Nov 12, 2005 10:56 pm Reply with quote Back to top

Ok this is what I get now when I uploaded a Photo.
$userfile = Array
Destination= /home/www/public_html/Home/modules/PhotoVote/pollPhotos/1.jpg

but now I get this when I go to the PhotoVote page (the first code I get).
Warning: mysql_data_seek(): Offset 0 is invalid for MySQL result index 176 (or the query data is unbuffered) in /home/www/public_html/Home/modules/PhotoVote/index.php on line 41


It was index 177 and now it is index 176
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16648
Location: Kansas

PostPosted: Sat Nov 12, 2005 11:50 pm Reply with quote Back to top

As long as that debug code is in there the script can't complete because of the die(); statement. It kills it. You can remove it now. The $userfile = Array looks to be your problem. It's just a guess, since I don't know the application, but my bet is that $userfile is supposed to be the name of the photo and not an Array object. I would suggest that for expediency sake, you contact the author and/or his support forum and explain that $username is an Array object and not a file name and ask what is going wrong. There could be someone reading this that knows the application and can help you, but I would have to dig into the script and that's not a freebie Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
frtaz
New Member
New Member


Joined: Nov 10, 2005
Posts: 6

PostPosted: Sun Nov 13, 2005 9:21 am Reply with quote Back to top

Thank you for your help on this I will check with eComJunk.com about this. When I get it going or if I do, I will post what I did.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum