vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE vb2.0+] vB Photo Upload (https://vborg.vbsupport.ru/showthread.php?t=27475)

Gutspiller 02-05-2002 03:23 PM

OK I installed this on my board and it wont upload the picture from the upload.php to the server. I created the directory in the right place, I went through the files and made sure they had the same path as my server. I put a photo in the directory manually and it worked, but for some reason I can't get the upload.php to upload the file.

I also get this error when I click the link in the admin control panel:

Fatal error: Cannot redeclare stripslashesarray() in /home/theforum/public_html/forumz/admin/global.php on line 14

Can somebody please help me out. :confused:

Thanks in advance! :)

ToraTora! 02-09-2002 09:00 PM

The code for the User CP.. might have been left out of the member.php or usercp.php file. But just adding it, should fix that problem.

Btw the numbers relate to what the $cpnav background color is.. it alternates, well not really. The page selected will have a different color than the others.

Gutspiller, did you check to make sure that the upload folder (for the images) is chmodded to 777. Cause that is the only thing that I can think of.. for that problem.

and the second problem.. I think if you search through this thread, it might have something for that.. I think somewhere I saw that one :)

Also as soon as brad sends me the new updated version I will pass it on to you guys. It will probably be the last release. But will fix a lot of problems and give a lot more flexibility.

Bouddha 02-09-2002 09:32 PM

Quote:

Originally posted by slideboxer
Anyone have a photo.gif to share? Couldn't find the ones that were posted.
here it is

And thk you very much for you answer about "$cpnav[7]" ;)

Dontom 02-17-2002 05:09 AM

Hi,
i am using this hack and it worked fine, untill I moved to another server - could someone give me the correct chmod and ownership for the uploaded photos? i had to upload them manually, so permissions were lost...
thank you!
Tom

ToraTora! 02-17-2002 07:27 AM

Quote:

Originally posted by Dontom
Hi,
i am using this hack and it worked fine, untill I moved to another server - could someone give me the correct chmod and ownership for the uploaded photos? i had to upload them manually, so permissions were lost...
thank you!
Tom

755 on some servers, 777 on others. I have varied the two on four different servers..lol...
Remember, that the permissions are only to be produced on your uploaded images folder. :)

Dontom 02-17-2002 08:46 AM

thank you, found the error - server was in Safe mode :O
changed, now running again :)
Tom

kypdurron 02-20-2002 03:46 PM

This hacks works great!
Had to move a couple of things around
(like declaring variables in upload.php BEFORE using them
in welcome).
I am also adding more templates so you can customize your
welcome message. (I have a bilingual forum..)
Thanks again for everyone's input

EJMack 02-21-2002 03:28 AM

Warning: getimagesize: Unable to open 'C:PHPuploadtempphp93E.tmp' for reading. in c:\inetpub\wwwroot\forums\upload.php on line 319
Image upload successful.
Warning: Unable to open 'C:PHPuploadtempphp93E.tmp' for reading: No such file or directory in c:\inetpub\wwwroot\forums\upload.php on line 191


Anyone have any idea what that would be caused by??? Permissions are set correctly and all directories are correct but it still wont let me upload a file.. And Yes i have gone through this whole thread and looked for the answers....still no luck....

EJMack 02-21-2002 04:33 PM

anyone?????

ToraTora! 02-22-2002 11:12 AM

why is it trying to open a temp file... the getimagesize, in the script will only work on an image.. not a temp file.. unless well dunno.

Plus there is no paths.. it is trying to open a blob.. instead of..

c:\phpupload\temp\php93e.tmp\ or whatever..

which that whole format.. should not be like that nor should it be in that folder. Don't try uploading a temp file.


All times are GMT. The time now is 03:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01321 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete