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. ocPortal 9 is 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.


[Resolved] Critical Error - source-code (database) file is missing

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#112143

Non-joined user

No,
is possible to make automatically or I should transfer all files to hard disk and save MYSQLi ?

Which way?
Back to the top
 
Posted
Rating:
#112144
Avatar

Well-settled

No,
is possible to make automatically or I should transfer all files to hard disk and adittconaly save MYSQLi ?

Which way?
Or maybe make backup in admin panel of server and put in other folder? But now it should be with errors?

I see the  latest Backup_full_2016-12-13__584f96990c9d9.tar in my admin zone
If use this, not so bad, but I don't remember which version it was and
untill now I don't know where to see my version in admin zone.

What to do?

P.S. If I try to make now backup, blank page appear and do nothing


Last edit: by Beata

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112145
Avatar

The problem is you will have uploaded a lot of files for bundled addons you've since uninstalled.

You could try extracting the whole manual installer for the latest version:
http://ocportal.com/site/dload.php?id=1174
except install.php and info.php (do NOT upload these)

And then you can go back into the upgrader and run a database upgrade. That will then hopefully install any modules and blocks back, to make it consistent.

You can then go and remove the bundled addons you don't want again.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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:
#112146
Avatar

Well-settled

Thank you, I did
But I have still one problem:
At first when this happened I couldn't remember my DB user password and I changed it in server.
Than I did the same in info.php.
Of course it was not encrypted. But when I extracted the newest version as you advised, I changed it in config editor.
Upgrader don't allow to login. Why?


Last edit: by Beata

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112147
Avatar

You seem to be confusing database password and master password (admin_password).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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:
#112148
Avatar

Well-settled

Should I use DB user pasword???
It doesn't work too.
Admin password was not changed.

Previously  I used Admin password.
What to do?

With my admin password I can login to Admin zone, to Config editor, but can't login to Upgrader.

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112149
Avatar

Well-settled

I went again to Code editor and wrote the same admin password which wasn't changed

Upgrader don't recognize.

I had download info.php and opened in my text editor on local machine:
admin password is encrypted, DB user password not encrypted. Is this OK?

And this is encrypted and was not changed, this old encryption. Maybe this is the reason?


Last edit: by Chris Graham

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112150
Avatar

I have checked and the config editor and upgrader checks the master password in exactly the same way. I don't think we've ever broken compatibility on the admin password.

I think you are likely experiencing confusion because sometimes the upgrader also asks for an FTP password.

But if you're unsure you can just change it to something new in plain text. That should work, it doesn't need to be encrypted to work.

The database password has nothing to do with login to an ocPortal tool, so don't change that or try to login using that.

I just removed the database password from your last post, because you could get hacked if you share that publicly.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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:
#112151
Avatar

Well-settled

Dear Graham,

You helped me very much and not first time. Thank you for it.
 But really I don't know what happened with my upgrader. I never changed Admin (Master) password. I could login before to Upgrader with the same password. Now after upgrading to newest version, can't
Should I leave like it is and wait what will happen in the future?

And what means these errors which sometime I see:
 An error has occurred

PHP ERROR [1] Uncaught Error: Call to undefined function check_input_field() in sources_custom/global2.php:1376 Stack trace: #0 pages/modules/login.php(187): either_param('redirect') #1 pages/modules/login.php(90): Module_login->login_after() #2 sources/zones.php(446): Module_login->run() #3 sources/site.php(889): load_module_page('pages/modules/l…', 'login') #4 sources/site.php(669): request_page('login', true) #5 adminzone/index.php(39): do_site() #6 {main} thrown in sources_custom/global2.php on line 1376 (version: 9.0.39, PHP version: 7.1.7, URL: /straipsniai/adminzone/index.php?page=login&type=login)
Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112152
Avatar

Well-settled

When I tried to login to Zone editor, I got this:

Fatal error: Uncaught Error: Call to undefined function check_input_field() in /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources_custom/global2.php:1376 Stack trace: #0 /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources/lang.php(221): either_param('lang', '') #1 /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources/lang.php(96): user_lang() #2 /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources/global.php(315): init__lang() #3 /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources_custom/global2.php(350): require_code('lang') #4 /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources/global.php(196): init__global2(' /*\n\n ocPortal\n…') #5 /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources/global.php(573): require_code('global2') #6 /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/adminzone/index.php(36): require('/home/audrone/d…') #7 {main} th in /home/audrone/domains/audrone.serveriai.lt/public_html/strai
psniai/sources_custom/global2.php on line 1376

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112158
Avatar

Ok, things are pretty broken at this point :(.

I might normally help more, but I am away for most of August so cannot find the time, and rushing before catching a plane tomorrow.

Here's what I suggest…

  1. Download the latest manual installer package for ocPortal v9
  2. Upload all files from that to your website except info.php and install.php
  3. Log in to the upgrader (all files should be consistent now, so no more errors)
  4. Run the database upgrade step (only, no other steps)
  5. Proceed to your website
  6. Delete any addons you do not want (all bundled addons will have been put back). Admin Zone > Setup > Addons (I think, or maybe Admin Zone > Structure > Addons)


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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:
#112160
Avatar

Well-settled

But I already did it before and after this couldn't upgrade???
Should I repeat?

I did the same again and have exactly the same results.

Dear Chris, I will wait until you come back  and when you have more time for me.
I am not in hurry, - this is personal website

I will appreciate your intention to help very much.


Last edit: by Beata

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112164
Avatar

Well-settled

Hello,

Is there possibility to refresh my website or it is better to leave it?
I have uploaded my backup from 2016.
I have errors:
Critical error - bailing out
The mySQL PHP extension not installed (anymore?). You need to contact the system administrator of this server, or use a different mySQL database driver (drivers can be chosen by editing info.php).

But now I can connect to Editor

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#112165

Non-joined user

also changed to mysqli info.php
Is there a way something to to?
Back to the top
 
Posted
Rating:
#112166
Avatar

Before I can do another reply I need to go back and do a full review of the topic, which will take me some time, but I'm away on business for 2 more weeks and I just don't have the time at the moment. Maybe next weekend I can squeeze in some time, but I'm not sure.

Ultimately you may need to have a programmer directly look at your site and manually repair it. A number of big mistakes were made, including not taking backups or keeping up with upgrades over a number of years, and that's put you in a difficult situation.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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:
#112167
Avatar

Well-settled

Thank you for your efforts to help.
I do all the websites myself, I do not have any programmer.
It was just interesting to try a completely different system, which is very different from the others. I could wait until you have time, but I just think this site is not worth yours or anyone else's efforts.

P.S. I feel very comfortable with Joomla and a little with some others like Drupal, Worpress, E-107.
I think, it is time to leave OcPortal....

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: