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.


Major errors on the new release

Login / Search

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

Well-settled

Bad errors

Good morning

I am running the new version of OCPortal on Windows Server 2003, IIS6, php5, and Mysql.  All the directory permissions seem to be OK.  All the errors listed below did not show up until I upgraded to the new version of OCPortal .  There is only a different of 4 days with installing the version before the last release and the last upgrade. The only thing I did was install the last patch and ran force_update.php and followed the instructions as it stated,



1. Admin -> Settings ->Global security ,

Fatal error: Call to undefined function foxy_utf8_to_nce() in C:\Inetpub\web\users\cyberchatnet.com\Portal\adminzone\pages
\modules\admin_permissions.php on line 366



2. Uploading new banner

PHP has encountered an Access Violation at 020D3FC2


3. Using Seearch

File -> 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\global
2.php'
Line -> 683
Function -> 'die_html_trace'
Args -> array

File -> 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\databa
se\mysql.php'
Line -> 163
Function -> 'clean_exit'
Args -> array

File -> 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\databa
se.php'
Line -> 627
Function -> '_db_query'
Args -> array

File -> 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\databa
se.php'
Line -> 495


The other interesting thing is that for example on the search routine and some of the other commands on your site I am also getting errors while I doing testing on the main OcPortal.com site.

4. Admin->Setup->Wizard Setup

 (C:\Inetpub\web\users\cyberchatnet.com\Portal/pages/com
code_custom/EN/rules.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied (ocPortal version: 3.1.2, PHP version: 5.2.0, URL: /Portal/adminzone/index.php?page=admin_setupwizard&type=step
10)

Here is the stack trace:

Below is a stack trace revealing the state ocPortal was in when the error occurred. If this represents a bug in ocPortal's unmodified software, you may want to check ocportal.com 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, the human situation, version numbers, and any other appropriate information.
We apologise for this problem and hope you will work with us so that we can fix it promptly. File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\global
2.php' Line '692' Function 'get_html_trace' Args
File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\global
2.php' Line '417' Function 'clean_exit' Args 'PHP WARNING [2] fopen(C:\Inetpub\web\users\cyberchatnet.com\Portal/pages/com
code_custom/EN/rules.txt) [<a href=\'function.fopen\'>function.fopen</a>]: failed to open stream: Permission denied'
Function 'ocportal_error_handler' Args 2 'fopen(C:\Inetpub\web\users\cyberchatnet.com\Portal/pages/co
mcode_custom/EN/rules.txt) [<a href=\'function.fopen\'>function.fopen</a>]: failed to open stream: Permission denied' 'C:\Inetpub\web\users\cyberchatnet.com\Portal\adminzone\page
s\modules\admin_setupwizard.php' 527 array
File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\adminzone\page
s\modules\admin_setupwizard.php' Line '527' Function 'fopen' Args 'C:\Inetpub\web\users\cyberchatnet.com\Portal/pages/comcode_
custom/EN/rules.txt' 'wt'
File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\adminzone\page
s\modules\admin_setupwizard.php' Line '70' Function 'step10' Class 'Module_admin_setupwizard' Type '->' Args
File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\zones.
php' Line '300' Function 'run' Class 'Module_admin_setupwizard' Type '->' Args
File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\site.p
hp' Line '640' Function 'load_module_page' Args 'adminzone/pages/modules/admin_setupwizard.php' 'admin_setupwizard'
File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\sources\site.p
hp' Line '510' Function 'request_page' Args 'admin_setupwizard' true
File 'C:\Inetpub\web\users\cyberchatnet.com\Portal\adminzone\inde
x.php' Line '42' Function 'do_site' Args



Last edit: by ptaylor2
Back to the top
 
Posted
Rating:
#29355
Avatar

Hi,

Thanks for putting all these together :).

I'll reply to them individually shortly.


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

1) If you go to your Admin Zone front page you'll see a link to our bug database for the version you're using. There is a fix for this already listed in the database.

2) I honestly can't say much about this. If something has changed in ocPortal to start it happening, then it is triggering a bug in PHP, and can not be a bug in ocPortal.
Try resetting your web server (ask your server administrator) – sometimes these problems go away when you do that.
The only really major thing we've changed is added some support for Unicode. I don't see how this could cause big difficulties for PHP though, as it's just a lot of little changes, spread around.
You could try removing lines 45-57 of sources/lang.php:

Code

   if (function_exists('stream_default_encoding'))
   {
      ini_set('default_charset',do_lang('charset'));
      ini_set('unicode.runtime_encoding',do_lang('charset'));
      ini_set('unicode.output_encoding',do_lang('charset'));
      ini_set('unicode.semantics','1');
      stream_default_encoding(do_lang('charset'));
   } else
   {
      ini_set('mbstring.http_input',do_lang('charset'));
      ini_set('mbstring.http_output',do_lang('charset'));
      ini_set('mbstring.encoding_translation',do_lang('charset'));
   }
These lines may be enabling some functionality in PHP that was not previously enabled. However that would only happen if you had the mbstring extension installed, or PHP6.

3) There was one real bug in search that we've fixed (it's listed in the bug database). This would happen on our site as we haven't updated. However the mySQL "server gone away" error is not something ocPortal would cause. It's something people have reported from time to time, but it is not an issue within ocPortal itself – it's either a configuration issue or a server-load issue.
We haven't made major changes to search in this patch release.

4) This permission denied problem is strange. I'm wondering if the file has become locked somehow.
What happens when you try and access the
C:\Inetpub\web\users\cyberchatnet.com\Portal/pages/com
code_custom/EN/rules.txt
file yourself? Try deleting it (it's safe to do so).


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

Well-settled

Did the changes as you specified and I am still having some problems.


I deleted the lines 45-57 of sources/lang.php and gave that directory full rights for iis_wpg so now the setup wizard works fine.  I am the administrator of the Windows Server 2003 that the application is running on.  Mstrings.dll was enabled and I removed it and restarted iis web services. On the version information in the zone admin it saids his is version 3.1.2. This is the latest version.

Here is a list of problems that I am still having

1. Adding new banner

PHP has encountered an Access Violation at 01F23FC2

2. Security –>  Global Spefic Permissions when I select one from the pull down then click submitt

Fatal error: Call to undefined function foxy_utf8_to_nce() in C:\Inetpub\web\users\cyberchatnet.com\Portal\adminzone\pages
\modules\admin_permissions.php on line 366

3. Queston I thought this was done on the last release that I have already installed on the server.

There was one real bug in search that we've fixed (it's listed in the bug database). This would happen on our site as we haven't updated. However the mySQL "server gone away" error is not something ocPortal would cause. It's something people have reported from time to time, but it is not an issue within ocPortal itself – it's either a configuration issue or a server-load issue.
We haven't made major changes to search in this patch release.

The add banners was working fine on the same windows server 2003, same php, iis6, mysql until I did the upgrade.  I have not made any changes to the server since the last two versions of OcPortal where installed.

Did you want me to disable mstrings in the php.ini?

Thanks
Phillip Taylor


Back to the top
 
Posted
Rating:
#29458
Avatar

Well-settled

Search function is still a issue

Chris


That error still showing up when you try and search for something on my site.  I checked the IIS configuration and there is no cpu load limit set on the main or the domain configuration, php resources that is used for the application login is set so there is no limit.  Also the server has to intel 1.44 Ghz Intel Proccessors.  

Phil
Back to the top
 
Posted
Rating:
#39283

Non-joined user

Chris Graham said

1) If you go to your Admin Zone front page you'll see a link to our bug database for the version you're using. There is a fix for this already listed in the database.

2) I honestly can't say much about this. If something has changed in ocPortal to start it happening, then it is triggering a bug in PHP, and can not be a bug in ocPortal.
Try resetting your web server (ask your server administrator) – sometimes these problems go away when you do that.
The only really major thing we've changed is added some support for Unicode. I don't see how this could cause big difficulties for PHP though, as it's just a lot of little changes, spread around.
You could try removing lines 45-57 of sources/lang.php:

Code

   if (function_exists('stream_default_encoding'))
   {
      ini_set('default_charset',do_lang('charset'));
      ini_set('unicode.runtime_encoding',do_lang('charset'));
      ini_set('unicode.output_encoding',do_lang('charset'));
      ini_set('unicode.semantics','1');
      stream_default_encoding(do_lang('charset'));
   } else
   {
      ini_set('mbstring.http_input',do_lang('charset'));
      ini_set('mbstring.http_output',do_lang('charset'));
      ini_set('mbstring.encoding_translation',do_lang('charset'));
   }
These lines may be enabling some functionality in PHP that was not previously enabled. However that would only happen if you had the mbstring extension installed, or PHP6.

3) There was one real bug in search that we've fixed (it's listed in the bug database). This would happen on our site as we haven't updated. However the mySQL "server gone away" error is not something ocPortal would cause. It's something people have reported from time to time, but it is not an issue within ocPortal itself – it's either a configuration issue or a server-load issue.
We haven't made major changes to search in this patch release.

4) This permission denied problem is strange. I'm wondering if the file has become locked somehow.
What happens when you try and access the
C:\Inetpub\web\users\cyberchatnet.com\Portal/pages/com
code_custom/EN/rules.txt
file yourself? Try deleting it (it's safe to do so).

Back to the top
 
Posted
Rating:
#65207

Non-joined user

Chris Graham said

1) If you go to your Admin Zone front page you'll see a link to our bug database for the version you're using. There is a fix for this already listed in the database.

2) I honestly can't say much about this. If something has changed in ocPortal to start it happening, then it is triggering a bug in PHP, and can not be a bug in ocPortal.
Try resetting your web server (ask your server administrator) – sometimes these problems go away when you do that.
The only really major thing we've changed is added some support for Unicode. I don't see how this could cause big difficulties for PHP though, as it's just a lot of little changes, spread around.
You could try removing lines 45-57 of sources/lang.php:

Code

   if (function_exists('stream_default_encoding'))
   {
      ini_set('default_charset',do_lang('charset'));
      ini_set('unicode.runtime_encoding',do_lang('charset'));
      ini_set('unicode.output_encoding',do_lang('charset'));
      ini_set('unicode.semantics','1');
      stream_default_encoding(do_lang('charset'));
   } else
   {
      ini_set('mbstring.http_input',do_lang('charset'));
      ini_set('mbstring.http_output',do_lang('charset'));
      ini_set('mbstring.encoding_translation',do_lang('charset'));
   }
These lines may be enabling some functionality in PHP that was not previously enabled. However that would only happen if you had the mbstring extension installed, or PHP6.

3) There was one real bug in search that we've fixed (it's listed in the bug database). This would happen on our site as we haven't updated. However the mySQL "server gone away" error is not something ocPortal would cause. It's something people have reported from time to time, but it is not an issue within ocPortal itself – it's either a configuration issue or a server-load issue.
We haven't made major changes to search in this patch release.

4) This permission denied problem is strange. I'm wondering if the file has become locked somehow.
What happens when you try and access the
C:\Inetpub\web\users\cyberchatnet.com\Portal/pages/com
code_custom/EN/rules.txt
file yourself? Try deleting it (it's safe to do so).


Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: