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.


Critical Error - bailing out

Login / Search

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

Well-settled

I'm currently going through the upgrader to upgrade from 8.1.3 to v9

I've got as far as the file integrity scan. At which point I get this error message:

ocPortal upgrader

This is the ocPortal upgrade tool. This tool is a part of ocPortal, but it is intentionally kept lightweight to keep it working even if ocPortal is partly broken.


Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred 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 occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
Allowed memory size of 67108864 bytes exhausted (tried to allocate 24335660 bytes) [sources/global.php(284) : eval()'d code at 921]

Details here are intended only for the website/system-administrator, not for regular website users.
» If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, and only if the website installation finished, you may need to edit the installation options (the info.php file).

ocProducts maintains full documentation for all procedures and tools. These may be found on the ocPortal website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.


ocPortal is a CMS for building websites, developed by ocProducts.


I am currently working with my Webhost to try and resolve this, but 4 hours in we still don't seem to be making any progress. I was just wondering if anyone here had any suggestions to resolve this problem?

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#89598
Avatar

Do you have any overrides that you placed under sources_custom/, and what non-bundled addons did you have installed?

You may need to manually clear out sources_custom if something is going very wrong under there.


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:
#89599
Avatar

Well-settled

Ok I wasn't sure so I emptied the folder and replaced the files with the ones inside the install package. I am still getting the same error however.

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#89600
Avatar

Well-settled

My host is asking if there is anywhere within OCportal where you set the memory values?

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#89602
Avatar

Well-settled

Also if the worst comes to the worst is there any way I can completely re-install ocportal but keep all my data in terms of users post etc?

I have a full backup of my 8.1.3 install but would rather come up to 9

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#89603
Avatar

Community saint

djdaveyp85 said

Also if the worst comes to the worst is there any way I can completely re-install ocportal but keep all my data in terms of users post etc?

I have a full backup of my 8.1.3 install but would rather come up to 9
Take a look at ocPortal Tutorial: Backing up your site - ocPortal.com.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#89615
Avatar

If you'd like to open a free support ticket with FTP access details then I'll debug this for you.

It is probably some other old non-bundled file triggering an infinite loop which is using up all the memory. Raising the limit would just make it fall further, causing problems on the server.

There are some tricks I can do to debug it but they are hard to explain.


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:
#89616
Avatar

Well-settled

Hi Chris, do you have a link as to where I can open this as I can only find paid ones?

I have got the site up and running again but this process still has the same problem so I would love to fix it!

Thanks  ;)

Check out my ocportal site: PrecisionRacingLeague.com which will always be on ocPortal - because it's awesome!
Back to the top
 
Posted
Rating:
#89617
Avatar



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:
#89638
Avatar

Well-settled

It seems like I have a similar problem on my site. My host stated that one website (probably mine) was responsible for an overuse of resources. I was getting "Too Many MySQL connection errors". I was also trying to upgrade the addons, when the problems occurred.

Probably incompatability problems between the add-ons? I was in the process of deleting anything not specifically designated as Version 9.x, when I found out that I have used my resources for the month. I'm never close to my limit as I have a generous hosting allowance with a small userbase.

Also, I also noted that in my site configuration, an IP address was defined for administrator access. I NEVER have this set as this invites a big security hole if people know how to spoof an IP address and could access the admin area quite easily. I definitely do not recall ever setting this and have disabled it on my end. Anyone else have this issue?

Correction: Connection Errors. It's been a long day ...


Last edit: by curtisbrew
Back to the top
 
Posted
Rating:
#89678
Avatar

The problem above related to a very large number of non-ocPortal files under the base directory.

It seems like I have a similar problem on my site. My host stated that one website (probably mine) was responsible for an overuse of resources. I was getting "Too Many MySQL connection errors". I was also trying to upgrade the addons, when the problems occurred.

This isn't something ocPortal would normally cause. The host should be able to see what queries are running on the server and the databases they are being run on and hence see what accounts are hogging MySQL.
If there is some particular request you are seeing as long-running and if it is a public request (i.e. one that different people might initiate simultaneously to build up a backlog), that would be a smoking gun, .

Also, I also noted that in my site configuration, an IP address was defined for administrator access. I NEVER have this set as this invites a big security hole if people know how to spoof an IP address and could access the admin area quite easily. I definitely do not recall ever setting this and have disabled it on my end. Anyone else have this issue?

If I had been given access to look into a problem it might have been me. If so, I'm sorry about that – it's easy to forget to remove the IP after finishing a task. However, if someone has access to read info.php to find the IP to spoof, you have other problems. Additionally, there isn't a known way to do IP spoofing on the public Internet, not since security advances quite a while back – it is possible on local networks though.


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:
#89887
Avatar

Well-settled

Thanks for the reply. I closed out the IP address issue since I did have a support ticket earlier in the month.

The other issue described above was related to a Wordpress blog which was calling up an image file repatedly, giving 404 errors hundreds of times a second. That, thankfully, had nothing to do with OcPortal but resulted in the webhost suspending my domain until it got sorted out. It was related to a file that got deleted during a WP theme upgrade. Everyone on the affected server was getting timeout errors on MySql and the theme was upgraded again since this incident. Thankfully, once again, this had nothing to do with OcPortal.
Back to the top
 
Posted
Rating:
#89891
Avatar

giving 404 errors hundreds of times a second. That, thankfully, had nothing to do with OcPortal but resulted in the webhost suspending my domain until it got sorted out

Actually it kind of could. ocPortal's recommended.htaccess makes ocPortal serve 404 pages with a sitemap, which is more intensive than the default 404. Sometimes we recommend people just save that page off as a 100% static page and tie through to that.


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: