![]() |
Whenever I click on upload file, I get a blank page!
|
Quote:
I am trying to figure it out myself, but I can't seem to, not so smart :o |
Quote:
Quote:
|
loneranger pls contact me at ICQ 137659377, i have a lot of correction and problem.
1)white page after uploading.. 2)no rule to access to file hosted_images.php.... 3)modify the management of usergroup id (not easy 1 for 1 ...i have 35/40 usergroup....i need to manage simple and fast ) I wait u :-P Thx |
hi i have added you to my icq list just wait till your online i will see what i can do in the mean time
|
Hi there,
Nice plugin. I've installed it but it doesn't.. work.. a) I cannot install the template mods as it doesn't tell me where to do this, I just get this nice juicy error: Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in \dir\forums\includes\db_mysql.php on line 389 Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.;./includes;./pear') in \dir\forums\includes\db_mysql.php on line 389 b) I manually edited admin cp with the post you posted up there ( ---^^ ) and it's wrong. It should be: // ############################## IMAGE HOSTING HACK ############################# construct_nav_spacer(); construct_nav_option('Edit Usergroup Premissions', 'img_host.php?do=view', '|'); construct_nav_option('Add Usergroup Premissions', 'img_host.php?do=add'); construct_nav_group('Image Hosting', '<hr />'); construct_nav_spacer(); // ########################### END OF IMAGE HOSTING HACK ######################## Also, where is the stuff for Watermarking etc? I don't see it. :: edit :: Just tested uploading. The files are not uploading and it just gives a white page. |
hi can you give me your web address and i will have a look also if i can have admin priviliges as there seems to be a couple of ppl getting this error and i have yet recieved this error on my server
|
Quote:
|
those getting error can you please post some information about your server type of OS version GD install and other hacks
Thanks i will try and resolve this error asap |
Quote:
Apache/1.3.33 (Unix) PHP Version 4.3.10 GD bundled (2.0.28 compatible) Other hacks include VBJournal vBadvanced ibProArcade xIRC Chat |
have you all tried a clean install removing all the phrases
what version of vbulletin are you using plz try a 3.07 to keep the same as my server as can't find a fault |
Quote:
Also I had a lot of troubles during the install, also during the uninstall, the file edits did not work. So I manually uninstalled everything the reinstalled it manually. I opened the files and figured out the queries, I am going to try to do another clean install and see if I can come up with any solutions, I will let you know. |
You missed uninstall groups in your uninstall query.
Also, I redownloaded and uploaded, and installed...I still run into the same exact problem. User groups are set correctly too. |
I found an error.
In index.php you have it looking for template_mods.php instead of template.php Change: install\hacks\image_hosting\12\index.php Code:
if ($_REQUEST['do'] == "genreadme") { Code:
if ($_REQUEST['do'] == "genreadme") { Change: install\hacks\image_hosting\12\uninstall_queries.p hp Code:
<?php Code:
<?php 'subscription' => vbphrase['group_paid_subscriptions'], which should be 'subscription' => $vbphrase['group_paid_subscriptions'], |
I too am getting an error installing this.
It happens after I click the DONE button on the page that "Rebuild Style Information". Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /path/forum/includes/db_mysql.php on line 389 Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/share/pear') in /path/forum/includes/db_mysql.php on line 389 I'm running 3.0.7 RedHat Linux 2.4.21-15.0.3.ELsmp MySQL 3.23.58 GD 2.0.12 Hacks: v3Articles vBadvanced |
ok i have noticed there is some errors with the installation process i will re-write this part and send you all the files hopefully i will be able to solve some problems
|
I could be wrong, but in image_host.php on line 144 aren't you missing a close bracket?
|
right think i have sorted it if a couple of you can test it and let me know thanks
this file should fix the problem with the blank screen when attempting to upload images try this now |
Almost :)
Warning: getimagesize(home/doyouwa/public_html/bbb/hosted_images/1.gif): failed to open stream: No such file or directory in /image_host.php on line 196 unable to get image size Also I think you need to remove the / in the $dir/ in that copy Code:
//upload image if all correct |
Ok,
My uploading is now working. After doing the edit above, removing the / from the $dir/ In the admin panel where it has Upload Directory The full local path to the upload directory eg. home/user/www/forum/hosted_images Change that to The full local path to the upload directory eg. /home/user/www/forum/hosted_images/ |
ok i will update this version and get all problems sorted! thanks everyone for you help any suggestions on improvements
|
Quote:
When I view images, it doesn't show the images. It is pointing to my /bbb/hosted_images/ directory when it should be pointing to just hosted_images/ [*IMG*]http://www.doyouwantmybum.com/bbb/bbb/hosted_images/1.gif[*/IMG*] |
In the admincp
The web address of upload images Set this to the directory where images are stored eg. /forum/hosted_images/ (remember the / at the end) Should be changed to The web address of upload images Set this to the directory where images are stored eg. /hosted_images/ (remember the / at the end) Also where the image is called to show in the image viewr it should have the full path to the image as it's not showing up now. One more thing, you link at the bottom is not correct to goto your website. http://www.yahoo.com/www.sig....ect |
i have now updated the download so you can download and update your systems enjoy and let me know of any suggestions on updates
|
yes just noticed that is a problem with the phrase that is also sorted in the new files
|
Now this script works 100% for me, here is a list of changes I made.
Ok, I have made some more changes to make this work correctly. This will make the install pull the template file correctly In install\hacks\image_hosting\12\index.php line 93 and 109 Code:
require_once('./template_mods.php'); Code:
require_once('./templates.php'); In install\hacks\image_hosting\12\templates.php line 139 Code:
<td class="alt1" colspan="2" valign="middle" align="center"><img src="$images[i_image]" width="" height="" alt="$images[i_name]" /></td> Code:
<td class="alt1" colspan="2" valign="middle" align="center"><img src="$images[i_image]" alt="$images[i_name]" /></td> In install\hacks\image_hosting\12\settings.php line 17 Code:
$setting['host_upload_dir']['descphrase'] = 'The full local path to the upload directory eg. home/user/www/forum/hosted_images/ DO NOT FORGET THE TRAILING SLASH'; Code:
$setting['host_upload_dir']['descphrase'] = 'The full local path to the upload directory eg. /home/user/www/forum/hosted_images/ DO NOT FORGET THE TRAILING SLASH'; Code:
$setting['host_url']['descphrase'] = 'Set this to the directory where images are stored eg. /forum/hosted_images/ (remember the / at the end)'; Code:
$setting['host_url']['descphrase'] = 'Set this to the directory where images are stored eg. /hosted_images/ (remember the / at the end)'; In image_host.php change line 136 Code:
$imgurl = $vboptions['host_url'] . $_FILES['img']['name']; Code:
$imgurl = $vboptions['bburl'] . $vboptions['host_url'] . $_FILES['img']['name']; |
when i upload images are not showing in the gallery?
|
Quote:
|
hm.. i've tried most of what has been said, yet i seem to be getting the same error when clicking done after the templates...
PHP Code:
|
try uninstalling imagehosting then do a full install unless you have got alot of images hosted then i will have to send you the upgrade queries php file
|
uninstall wont work ether, the tables are not deleted, I also go to myphpadmin, and remove the manually, but i still have the same problem.
|
Quote:
|
ok, are you upgrading image hosting or fresh install?
|
Fresh.
|
I installed this script and when I go to the uploader I cant upload nor can I view galleries cuz I have no permissions...where do I edit permissions? I dont see the section to edit permissions in Usergroup Manager for each usergroup...am i missin something?
|
Quote:
If you did there would be a menu on the left side called "Image Hosting" |
No, I wzn't aware of such changes...what are they? Can you tell me so I can fix it???
|
Here are the instructions:
What Does it Do? This script will allow your users to upload images onto your server and use them in forums and other sites. You can limit how many images a person can upload and how big the files can be. There is also a watermark feature which will allow you to watermark upload images with any text you want. Features - Admin cp settings - Limit Filetypes - Limit File size - Limit What usergroups can upload - Add Watermark to JPEG's (Removed) - View uploaded images - View Forum image code(NEW!!!!) - Installer - Admins can select different limits for different usergroups(NEW!!!) - New improve style - More.... Installer I have used the Hack Installer System to make it easier for the end use to upload to their site Live Demos 1.Sig-Mania 2. Pm me with your site Support I will fully support this project and will fix and bugs or gliches in the script. I also offer a installation process for anyone who needs it. Donations This project takes alot of my time and so will the updates to come i would appricate any donation thought paypal email:martinj.porter@btinternet.com, Thanks Future Features - Moderate uploads - Different Limits for users and usergroups (Compeleted) - User Gallery for uploaded images - Stats (in Progress) Bugs Fixed 1. Templates should be to the default vbstyle 2. Can't get image size fixed (hopefully) Hope you enjoy thanks Loneranger installation 1. copy all files to your forum directory keeping the folder structure. 2. run http://www.yoursite/forum/install/hack_install.php 3. follow prompts when finished there are a couple of file mods you need to do 4. Just add links in your nav bar to: image_host.php?do=uploader (this is the uploader) image_host.php?do=images (this is the gallery of the users images) 5. All compelte please donate and i will keep the updates coming thanks again loneranger @ www.sig-mania.co.uk I didn't see any Admincp/Index.php file edits...what are they? |
2. run http://www.yoursite/forum/install/hack_install.php
When you run that installer there will be a section in there and it'l give you the changes you need to make to two files. |
<?php
// Phrases Warning: Invalid argument supplied for foreach() in /his_files/hack_creator_b2.php on line 202 ?> Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home2/amphicar/public_html/amphicarforum/includes/db_mysql.php on line 389 Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/amphicar/public_html/amphicarforum/includes/db_mysql.php on line 389 Database error in vBulletin 3.0.7: Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY languageid DESC' at line 1 mysql error number: 1064 |
All times are GMT. The time now is 07:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|