Welcome to Geeklog, Anonymous Saturday, December 28 2024 @ 02:39 am EST
Geeklog Forums
Big pictures error in add story
Newbie but impruve
Anonymous
Aloha !
When I upload big pictures have got this warnings :
I don't figure up where could I fix this problem.
Thank your attention .
When I upload big pictures have got this warnings :
Warning: getimagesize(): open_basedir restriction in effect. File(/var/tmp/phpbv8N2p) is not within the allowed path(s):
(/mnt/ultraweb/g/gi/gikloog/) in /mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: getimagesize(/var/tmp/phpbv8N2p): failed to open stream: Operation not permitted in
/mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: getimagesize(): open_basedir restriction in effect. File(/var/tmp/phpbv8N2p) is not within the allowed path(s):
(/mnt/ultraweb/g/gi/gikloog/) in /mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: getimagesize(/var/tmp/phpbv8N2p): failed to open stream: Operation not permitted in
/mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: chmod() has been disabled for security reasons in
/mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 677
(/mnt/ultraweb/g/gi/gikloog/) in /mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: getimagesize(/var/tmp/phpbv8N2p): failed to open stream: Operation not permitted in
/mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: getimagesize(): open_basedir restriction in effect. File(/var/tmp/phpbv8N2p) is not within the allowed path(s):
(/mnt/ultraweb/g/gi/gikloog/) in /mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: getimagesize(/var/tmp/phpbv8N2p): failed to open stream: Operation not permitted in
/mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 378
Warning: chmod() has been disabled for security reasons in
/mnt/ultraweb/g/gi/gikloog/gyikloog/system/classes/upload.class.php on line 677
I don't figure up where could I fix this problem.
Thank your attention .
13
11
Quote
Newbie but improve
Anonymous
Thank your reply very much, but there is some problem :
- I don't understand Spanish (neither )
- I don't see the key for this problem in config.php
- I leave blank this row in config.php ->
(I see/find this mean : autoresize pictures)
- I find it in the php-code :
var $_currentFile = array(); // Array
this sets in 1186 -> $this->_currentFile = current($GLOBALS['HTTP_POST_FILES']);
Array
(
[name] => (236).jpg
[type] => image/jpeg
[tmp_name] => /var/tmp/phpbv8N2p
[error] => 0
[size] => 35367
)
could somebody tell me where get [tmp_name] this : /var/tmp/...
- I don't understand Spanish (neither )
- I don't see the key for this problem in config.php
- I leave blank this row in config.php ->
Text Formatted Code
$_CONF['image_lib'] = ''; - I find it in the php-code :
Text Formatted Code
/root/system/classes/upload.class.phpvar $_currentFile = array(); // Array
this sets in 1186 -> $this->_currentFile = current($GLOBALS['HTTP_POST_FILES']);
Array
(
[name] => (236).jpg
[type] => image/jpeg
[tmp_name] => /var/tmp/phpbv8N2p
[error] => 0
[size] => 35367
)
could somebody tell me where get [tmp_name] this : /var/tmp/...
10
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Unless I'm mistaken, the tmp path actually comes from the PHP configuration. Since your server seems to have open_basedir restrictions in effect, this looks like a misconfiguration to me. I.e. your hosting service should either include /var/tmp in the list of allowed directories or they should set things up such that you have a tmp directory under your own "basedir". Try talking to them ...
bye, Dirk
bye, Dirk
6
6
Quote
Newbie but improve
Anonymous
Aloha !
Is it possible this is the same PHP bug as it reported in the past here :
http://bugs.php.net/bug.php?id=19292
and here :
http://bugs.php.net/bug.php?id=25895
and much other places ?
my hosting service have got -> PHP Version 4.3.10
Is it possible this is the same PHP bug as it reported in the past here :
http://bugs.php.net/bug.php?id=19292
and here :
http://bugs.php.net/bug.php?id=25895
and much other places ?
my hosting service have got -> PHP Version 4.3.10
13
13
Quote
LabTech
Anonymous
I am getting this when I try to put in a story with images...
Warning: move_uploaded_file(): Moved: '/var/tmp/phpnvh2Pk' to '/home/eshirtla/public_html/images/articles/20060122185122631_1.jpg' in /home/eshirtla/system/classes/upload.class.php on line 463
Warning: getimagesize(/var/tmp/phpnvh2Pk): failed to open stream: No such file or directory in /home/eshirtla/system/classes/upload.class.php on line 386
Warning: getimagesize(/var/tmp/phpnvh2Pk): failed to open stream: No such file or directory in /home/eshirtla/system/classes/upload.class.php on line 386
Warning: chmod(): No such file or directory in /home/eshirtla/system/classes/upload.class.php on line 666
Help!
My Host is blaming it on the script
The host is on phpMyAdmin 2.6.4-pl2
Warning: move_uploaded_file(): Moved: '/var/tmp/phpnvh2Pk' to '/home/eshirtla/public_html/images/articles/20060122185122631_1.jpg' in /home/eshirtla/system/classes/upload.class.php on line 463
Warning: getimagesize(/var/tmp/phpnvh2Pk): failed to open stream: No such file or directory in /home/eshirtla/system/classes/upload.class.php on line 386
Warning: getimagesize(/var/tmp/phpnvh2Pk): failed to open stream: No such file or directory in /home/eshirtla/system/classes/upload.class.php on line 386
Warning: chmod(): No such file or directory in /home/eshirtla/system/classes/upload.class.php on line 666
Help!
My Host is blaming it on the script
The host is on phpMyAdmin 2.6.4-pl2
15
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by LabTech: The host is on phpMyAdmin 2.6.4-pl2
phpMyAdmin doesn't have anything to do with this ...
Which PHP version are you on? This may have something to do with a problem in certain PHP versions (should have been fixed in 4.4.2). Or try enabling the debug option in config.php and see what that tells you:
Text Formatted Code
// Uncomment the following line if you experience problems with the image// upload. Debug messages will be added to the error.log file.
// $_CONF['debug_image_upload'] = true;
bye, Dirk
6
11
Quote
LabTech
Anonymous
Sorry guys. What can I say. I am an idiot graphic artist.
PHP 4.4.1
PHP 4.4.1
5
8
Quote
LabTech
Anonymous
Well, my service won't load 4.4.2.
My service is up in March, so it is time to find another host.
I am useing IPowerWeb.Com.
Any Suggestions?
My service is up in March, so it is time to find another host.
I am useing IPowerWeb.Com.
Any Suggestions?
12
10
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Hi Dirk I have been trying to assist on this one and have had no success. There is no error in the error log related to this issue and I understand the host will not upgrade PHP for him.
Odd that they refuse to keep php up to date?
Any tips other than change hosts at this point?
Odd that they refuse to keep php up to date?
Any tips other than change hosts at this point?
9
10
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Apache version 1.3.34 (Unix)
MySQL version 4.1.14-standard
PHP version 4.4.2
Operating system Linux
Kernel version 2.6.11.12-grsec
Machine Type i686
We moved the site to another server and above are some of the specs on our environment.
I get this error when I enable the advanced editor. I am getting a dozen errors above the editing page that number changes based on the number of images in the article.
Warning: getimagesize(): Unable to access /home/username/public_html/images/articles/20060114233554597_1.jpg in /home/username/public_html/lib-common.php on line 5545
The image is there, hence my confusion.
The upgrade to 1.4.0 sr1 went wonderfully, thank you very much.
MySQL version 4.1.14-standard
PHP version 4.4.2
Operating system Linux
Kernel version 2.6.11.12-grsec
Machine Type i686
We moved the site to another server and above are some of the specs on our environment.
I get this error when I enable the advanced editor. I am getting a dozen errors above the editing page that number changes based on the number of images in the article.
Text Formatted Code
Warning: getimagesize(): Unable to access /home/username/public_html/images/articles/20060114233554597_1.jpg in /home/username/public_html/lib-common.php on line 5545
The image is there, hence my confusion.
The upgrade to 1.4.0 sr1 went wonderfully, thank you very much.
8
8
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Nobody has any input??
I am willing to try anything, maybe if it is that there are to many files under his cpanel account then the script for his cafepress integration implimentation needs to be fixed so that he does not require a new script page for every store.
So that he may have seperate stores still but yet only one script file. Maybe thats the answer.
I certainly am not the man for that job but it would be good to know if thats where we need to go next.
This is just wierd.
I am willing to try anything, maybe if it is that there are to many files under his cpanel account then the script for his cafepress integration implimentation needs to be fixed so that he does not require a new script page for every store.
So that he may have seperate stores still but yet only one script file. Maybe thats the answer.
I certainly am not the man for that job but it would be good to know if thats where we need to go next.
This is just wierd.
10
9
Quote
All times are EST. The time is now 02:39 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content