Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLog login ERROR #13

Closed
pengzz9527 opened this issue Jan 23, 2024 · 6 comments
Closed

BLog login ERROR #13

pengzz9527 opened this issue Jan 23, 2024 · 6 comments
Assignees
Labels
Application bug Something isn't working

Comments

@pengzz9527
Copy link

ORA-04063: package body "WKSP_AIGOOGLE.BLOG_UTIL" has errors
Technical Info (only available for developers)
is_internal_error: false
ora_sqlcode: -4063
ora_sqlerrm: ORA-04063: package body "WKSP_AIGOOGLE.BLOG_UTIL" has errors
ORA-06512: at "APEX_230200.WWV_FLOW_PROCESS_NATIVE", line 55
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC_PLSQL", line 126
ORA-06512: at "APEX_230200.WWV_FLOW_DYNAMIC_EXEC", line 2647
ORA-06508: PL/SQL: could not find program unit being called: "WKSP_AIGOOGLE.BLOG_UTIL"
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_SYS_SQL", line 2120
ORA-06512: at "SYS.WWV_DBMS_SQL_APEX_230200", line 810
ORA-06512: at "APEX_230200.WWV_FLOW_DYNAMIC_EXEC", line 2607
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC_PLSQL", line 97
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC_PLSQL", line 430
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC", line 614
ORA-06512: at "APEX_230200.WWV_FLOW_EXEC_LOCAL", line 3062
ORA-06512: at "APEX_230200.WWV_FLOW_EXEC", line 2823
ORA-06512: at "APEX_230200.WWV_FLOW_EXEC", line 2861
ORA-06512: at "APEX_230200.WWV_FLOW_PROCESS_NATIVE", line 34
ORA-06512: at "APEX_230200.WWV_FLOW_PROCESS_NATIVE", line 1347
ORA-06512: at "APEX_230200.WWV_FLOW_PLUGIN", line 3634
component.type: APEX_APPLICATION_PROCESSES
component.id: 53582057650954562157
component.name: Initialize Items
error_backtrace:
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_SYS_SQL", line 2120
ORA-06512: at "SYS.WWV_DBMS_SQL_APEX_230200", line 810
ORA-06512: at "APEX_230200.WWV_FLOW_DYNAMIC_EXEC", line 2607
ORA-06512: at "APEX_230200.WWV_FLOW_PROCESS_NATIVE", line 55
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC_PLSQL", line 126
ORA-06512: at "APEX_230200.WWV_FLOW_DYNAMIC_EXEC", line 2647
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_SYS_SQL", line 2120
ORA-06512: at "SYS.WWV_DBMS_SQL_APEX_230200", line 810
ORA-06512: at "APEX_230200.WWV_FLOW_DYNAMIC_EXEC", line 2607
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC_PLSQL", line 97
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC_PLSQL", line 430
ORA-06512: at "APEX_230200.WWV_FLOW_CODE_EXEC", line 614
ORA-06512: at "APEX_230200.WWV_FLOW_EXEC_LOCAL", line 3062
ORA-06512: at "APEX_230200.WWV_FLOW_EXEC", line 2823
ORA-06512: at "APEX_230200.WWV_FLOW_EXEC", line 2861
ORA-06512: at "APEX_230200.WWV_FLOW_PROCESS_NATIVE", line 34
ORA-06512: at "APEX_230200.WWV_FLOW_PROCESS_NATIVE", line 1347
ORA-06512: at "APEX_230200.WWV_FLOW_PLUGIN", line 3634
ORA-06512: at "APEX_230200.WWV_FLOW_PROCESS", line 192
error_statement:
begin blog_util.initialize_items(
p_app_id => :APP_ID
);
end;

@jariolaine jariolaine self-assigned this Jan 23, 2024
@jariolaine
Copy link
Owner

jariolaine commented Jan 23, 2024

Hi,

What is your database version?
What is database MAX_STRING_SIZE parameter value?

select name, value
from v$parameter
where name = 'max_string_size';

Please run below and post output:

alter view blog_v_posts compile;
alter package blog_util compile;
select *
from user_errors;

@jariolaine jariolaine added the Application bug Something isn't working label Jan 23, 2024
@pengzz9527
Copy link
Author

pengzz9527 commented Jan 24, 2024 via email

@pengzz9527
Copy link
Author

Hi,

What is your database version?

Oracle Database 19c EE Extreme Perf Release 19.0.0.0.0 - Production

deployed on apex.oracle.com ;

What is database MAX_STRING_SIZE parameter value?

select name, value
from v$parameter
where name = 'max_string_size';

It should be no access permission,get error: Error at line 2/6: ORA-00942: table or view does not exist ,when excute :
select name, value
from v$parameter
where name = 'max_string_size';

@jariolaine
Copy link
Owner

jariolaine commented Jan 24, 2024

There is issue in view BLOG_V_POSTS when database parameter MAX_STRING_SIZE value is STANDARD.

Create view using attached DDL
blog_v_posts_fix_issue_13.zip

And compile invalid objects.

alter view blog_v_posts_last20 compile;
alter view blog_v_archive_year compile;
alter view blog_v_comments compile;
alter view blog_v_categories compile;
alter view blog_v_archive_year compile;
alter view blog_v_tags compile;
alter package blog_util compile;
alter package blog_xml compile;

Run below insert where you replace < admin application id here > part with actual application id

insert into blog_settings(display_seq,is_nullable,attribute_name,data_type,attribute_group_message,int_min,int_max,attribute_value) values('30','0','G_ADMIN_APP_ID','STRING','INTERNAL',null,null, <admin application id here>);

Drop view

drop view blog_v_version;

Install blog public application again.

@pengzz9527
Copy link
Author

Trank you ,Problem solved, perfect!

@jariolaine
Copy link
Owner

Waiting that bug #12 is fixed from Oracle to continue development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Application bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants