Current time: 11-22-2024, 03:05 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] phpmyadmin FILE COULD NOT BE READ
Author Message
rajkosto Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #1
[SOLVED] phpmyadmin FILE COULD NOT BE READ
i get this error when i try to import any file from my computer into phpmyadmin
copy pasting it into the sql query works, but then i cant use compression

note that both compressed and uncompressed files make the error
actually i could upload anything and it will always say the same thing
(This post was last modified: 02-12-2008 06:25 PM by BeNe.)
02-10-2008 07:39 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: phpmyadmin FILE COULD NOT BE READ
limit of upload file size?
02-10-2008 08:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rajkosto Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #3
RE: phpmyadmin FILE COULD NOT BE READ
is set to 200M in php.ini
both of them
02-11-2008 01:59 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: phpmyadmin FILE COULD NOT BE READ
all 3 sizes?
did you try with a file < 2MB?
02-11-2008 02:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #5
RE: phpmyadmin FILE COULD NOT BE READ
why dont use the mysql shell XD

mysql -u user -p < file.sql
02-11-2008 02:23 AM
Find all posts by this user Quote this message in a reply
rajkosto Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #6
RE: phpmyadmin FILE COULD NOT BE READ
because my users DONT HAVE A SHELL

and yes the limit in phpmyadmin is still 2.0MB i didnt change that ive tried with small files like 60KB and 300KB all fail

centos 5.1
02-11-2008 02:44 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: phpmyadmin FILE COULD NOT BE READ
some posts above you wrote 200M Smile

Maybe it would be helpful to let php write errors to a logfile and start debugging Sad

Or you can try'n'error with the security settings in the php.ini (master vhost). Maybe diasable open_basedir etc etc... but only to find the error. ! Wink

/J
02-11-2008 02:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: phpmyadmin FILE COULD NOT BE READ
Quote:is set to 200M in php.ini
In the Master PHP.ini ?
Quote:because my users DONT HAVE A SHELL
make sense! Smile
Quote:centos 5.1
Maybe this is the Problem...Works in Debian Etch.

Greez BeNe
02-11-2008 02:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rajkosto Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #9
RE: phpmyadmin FILE COULD NOT BE READ
im thinking permissions

whats wrong with centos Big Grin
ive had to do a lot of hacking up to get it working but meh
before i installed ispcp, phpmyadmin (standalone) was fine.
(This post was last modified: 02-11-2008 01:33 PM by rajkosto.)
02-11-2008 03:15 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: phpmyadmin FILE COULD NOT BE READ
Since RC3 is released we're at the point to improve the config for the different OS, so please help us to get it running on CentOS...

But be warned - it *may* be a special version of php (since not all distributions compile the same PHP version with the same flags...)

Would be great if you could analyze the problem and report here...
02-11-2008 04:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)