HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Error on upload as admin user

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#76606 (In Topic #15796)
Avatar

Well-settled

Apparently daily quota limit

Here is the error message:
Could not save. Are you out of disk space or quota space? Did you try and use a file that was 0 bytes?
This is an error that has been elevated to critical error status because it occured during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occured before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
This first happened yesterday and while I thought the admin was exempt from the upload quota I changed it and was able to upload more stuff. Today, I was uploading and got this error again.
The page on this in the Errors forum points you to config options that are at least not where they are said to be anymore.

So, I'm confused.
Back to the top
 
Posted
Rating:
#76607
Avatar

This is not coming from ocPortal as such. ocPortal is informing you of a disk error it experienced.

What were you doing at the time?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#76610
Avatar

Well-settled

That's very strange. I was uploading another file in a download section. The hosting account is "unlimited disk and unlimited bandwidth". It's shared hosting but the disk is no where near full. Apparently there is some part of "unlimited" that really isn't. I'll have a chat with the hosting company. Thanks.

[update] I just checked the error logs on the site and nothing. Tried again and the same error. So, stranger still.


Last edit: by felipe
Back to the top
 
Posted
Rating:
#76614
Avatar

I think you should be able to ask it for a stack trace (link above error). Can you post that please?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#76618
Avatar

Well-settled

Actually, no. I have seen (and even looked at) the stack trace but with this error there was no stack trace option.

Back to the top
 
Posted
Rating:
#76621
Avatar

Well-settled

After no "choice" for a stack trace I went to edit the front page and got the same error but with a stack trace option. (Continues to get strange.) So, I got a stack trace from that but it is about 1MB of Opera "save this web page" file. What should I do to "share" it?
Back to the top
 
Posted
Rating:
#76623
Avatar

Hi,

Just copy&paste the text into a post, even if it gets a little mangled that should be fine.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#76625
Avatar

Well-settled

Code


File '/home/nicaplaz/public_html/sources/failure.php'
Line '674'
Function 'get_html_trace'
Args

File '/home/nicaplaz/public_html/sources/global2.php'
Line '969'
Function '_fatal_exit'
Args
object

File '/home/nicaplaz/public_html/sources/failure.php'
Line '232'
Function 'fatal_exit'
Args
object

File '/home/nicaplaz/public_html/sources/global2.php'
Line '929'
Function '_generic_exit'
Args
object

'WARN_SCREEN'

File '/home/nicaplaz/public_html/sources/css_and_js.php'
Line '148'
Function 'warn_exit'
Args
object

File '/home/nicaplaz/public_html/sources/global2.php'
Line '1,613'
Function 'js_compile'
Args
'javascript_posting'

'/home/nicaplaz/public_html/themes/default/templates_cached/EN/javascript_posting.js'

true

File '/home/nicaplaz/public_html/sources/global2.php'
Line '1,703'
Function 'javascript_enforce'
Args
'javascript_posting'

File '/home/nicaplaz/public_html/sources/symbols.php'
Line '1,033'
Function 'javascript_tempcode'
Args
'header'

File '/home/nicaplaz/public_html/sources/tempcode.php(1485) : eval()\'d code'
Line '138'
Function 'ecv'
Args
NULL

array ( )

0

'JS_TEMPCODE'

array ( 0 => 'header', )

File '/home/nicaplaz/public_html/sources/tempcode.php'
Line '1,485'
Function 'eval'

File '/home/nicaplaz/public_html/sources/site.php'
Line '872'
Function 'evaluate_echo'
Class 'ocp_tempcode'
Type '->'
Object object
Args

File '/home/nicaplaz/public_html/cms/index.php'
Line '50'
Function 'do_site'
Args



Su

(Select page rendering tool)
C
Back to the top
 
Posted
Rating:
#76626
Avatar

Right, so I think this really is something going wrong at a lower level. I don't know much about how quotas work on Linux, but seems like a quota issue or a disk space issue. This is the line:

Code

if (fwrite($js_file,$contents)<strlen($contents)) warn_exit(do_lang_tempcode('COULD_NOT_SAVE_FILE'));

The error is saying it failed to write as much data into the file as it tried to.

The file here is one of the cache files (a compiled Javascript template in this case).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#76628
Avatar

Well-settled

OK, this gives me a starting point. It still makes no sense but it is a place to start. Note that I only have the Comcode cache turned on right now. I am thinking that maybe this is an execution time limit that is getting hit. Or possibly there is a malloc going on and the system decided I was "big enough". In any case, it seems like there is a context switch involved.

In any case, thanks for the clues. I will dig in and figure it out.
Back to the top
 
Posted
Rating:
#76635
Avatar

Well-settled

Looks like I solved the problem. The tmp directory I was pointing to had a subdirectory in it with a zillion "forgotten about" files. Apparently the write was timing out because of this. Still a bit strange but I removed all the junk and everything seems to be fine.

Thanks Chris for the clue "temporary file".
Back to the top
 
Posted
Rating:
#76636
Avatar

Wow, interesting.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#76695
Avatar

Well-settled

It's back! Different upload, after one successful, this one died. Nothing special about the file. It's about 2.5MB and the upload limit is 10MB. There are few files in the tmp directory. The error said the move was not done (causing the error) but a zero-length file was created in the download directory.


Code

File     '/home/nicaplaz/public_html/sources/failure.php'
 Line     '674'
 Function     'get_html_trace'
 Args    

 File     '/home/nicaplaz/public_html/sources/global2.php'
 Line     '969'
 Function     '_fatal_exit'
 Args    
 object

 File     '/home/nicaplaz/public_html/sources/failure.php'
 Line     '232'
 Function     'fatal_exit'
 Args    
 object

 File     '/home/nicaplaz/public_html/sources/global2.php'
 Line     '929'
 Function     '_generic_exit'
 Args    
 object

 'WARN_SCREEN'

 File     '/home/nicaplaz/public_html/sources/css_and_js.php'
 Line     '148'
 Function     'warn_exit'
 Args    
 object

 File     '/home/nicaplaz/public_html/sources/global2.php'
 Line     '1,613'
 Function     'js_compile'
 Args    
 'javascript_iframe_screen'

 '/home/nicaplaz/public_html/themes/default/templates_cached/EN/javascript_iframe_screen.js'

 true

 File     '/home/nicaplaz/public_html/sources/global2.php'
 Line     '1,703'
 Function     'javascript_enforce'
 Args    
 'javascript_iframe_screen'

 File     '/home/nicaplaz/public_html/sources/symbols.php'
 Line     '1,033'
 Function     'javascript_tempcode'
 Args    
 'header'

 File     '/home/nicaplaz/public_html/sources/tempcode.php(1485) : eval()\'d code'
 Line     '138'
 Function     'ecv'
 Args    
 NULL

 array ( )

 0

 'JS_TEMPCODE'

 array ( 0 => 'header', )

 File     '/home/nicaplaz/public_html/sources/tempcode.php'
 Line     '1,485'
 Function     'eval'

 File     '/home/nicaplaz/public_html/sources/site.php'
 Line     '872'
 Function     'evaluate_echo'
 Class     'ocp_tempcode'
 Type     '->'
 Object     object
 Args    

 File     '/home/nicaplaz/public_html/adminzone/index.php'
 Line     '51'
 Function     'do_site'
 Args    


       
Su

(Select page rendering tool)  
 C
Back to the top
 
Posted
Rating:
#76697
Avatar

Well-settled

I am still trying to sort this out. It seems that after this failure I get returned to an (I think, the same) error message until I log out and back in. That is, just trying to enter the admin zone returns me to the error message.

I am reasonably sure this is a hosting issue but I am looking for clues how to figure out what it might be.

Note that this install was initially done locally and then copied to the hosting company site only changing database access information. While this may be an issue, I don't see how.
Back to the top
 
Posted
Rating:
#76698
Avatar

Right, this again is the caching (compiled JS file in this case). When you do certain things, like change the config, the cache is flushed then has to regenerate.

It's way outside my experience to talk about what might be going wrong on a kernel/filesystem level. I'd suggest fsck get run, and also if there is some hard file-system limit like number of allowed inodes, being hit.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#76702
Avatar

Well-settled

Thanks, Chris. I am just trying to understand enough here to be able to talk to the Site5 folks in an intelligent manner. They tend to be pretty good at support so this will be a good test. I wish they were running a more "standard" Linux (to me, that means Debian-based) but I will try to get it sorted out.
Back to the top
 
Posted
Rating:
#76703
Avatar

I suppose another answer is that if it is some kind of VPS, or weird virtual disk, the amount of reported free space might actually be a fiction.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#76710
Avatar

Well-settled

With much egg on my face, I confess to the "errors of my ways" and thank Site5 for pointing them out. They rock as does ocP.
While my Site5 account is "unlimited" it hosts multiple domains and I have the ability to set limits within each domain. As I had taken down a site with a lot of images from nicaplaza.com I didn't even think about a possible limit issue.
However, I had made those images available via FTP to my old customer so they were all still there on the account. So, Chris was right (hosting issue, not ocP issue), Site5 was right and I was wrong.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: