Website | Forums | Documentation
ForumsForums,
RulesRules,
MembersMembers,
GroupsGroups,
UnreadUnread,
RecommendRecommend,

Topic: Major errors on the new release   

Skip navigation

Member information

    [ Join | More ]


,   Reply,   Add topic,  



Major errors on the new release
Bad errors
Posted 27 February, 2007, 02:30 PM
#29345
Avatar
Regular member

Rank image
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: 27 February, 2007, 08:21 PM by ptaylor2
Back to the top
Report post (29345),   Quote post (29345),  
 
Posted 27 February, 2007, 09:56 PM
#29355
Avatar
Site director

Rank image
Hi,

Thanks for putting all these together :).

I'll reply to them individually shortly.



Was I helpful?
 - If not, please let us know how we can do better.
 - If so, please let others know about ocPortal whenever you see the opportunity.
Back to the top
Report post (29355),   Quote post (29355),  
 
Posted 27 February, 2007, 10:07 PM
#29356
Avatar
Site director

Rank image
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).



Was I helpful?
 - If not, please let us know how we can do better.
 - If so, please let others know about ocPortal whenever you see the opportunity.
Back to the top
Report post (29356),   Quote post (29356),  
 
Did the changes as you specified and I am still having some problems.
Posted 28 February, 2007, 01:08 AM
#29368
Avatar
Regular member

Rank image

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
Report post (29368),   Quote post (29368),  
 
Search function is still a issue
Posted 02 March, 2007, 05:51 AM
#29458
Avatar
Regular member

Rank image
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
Report post (29458),   Quote post (29458),  
 
Posted 01 May, 2008, 08:22 PM
#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
Report post (39283),   Quote post (39283),  
 
1 guests and 0 members are viewing this: None
Control functions:

,   Reply,   Add topic,  




Quick reply   Expand/Contract

:P , :'( , :dry: , :$ , ;) , O_o , :wub: , :cool: , :lol: , :( , :) , :thumbs: , :offtopic: , :| , :ninja: , :o ,
If you have a vision impairment, please contact a member of staff to perform this action on your behalf. If you are viewing this text instead of an image, try refreshing the page.

To prevent bots, we require you to duplicate the text shown in the image, in the text box.





, Back to the top, ocPortal,   Keyboard map, Site map,  
Build a website today!