Can't replace procedure
Hi:
I am using Squirrel as the client tool using JDBC RAC driver against Oracle 11.1. I am trying to replace an existing Oracle procedure with:
CREATE OR REPLACE PROCEDURE MY_PROC
AS
BEGIN
DELETE FROM table1 WHERE IEX_DATE >= (select max(idate) from table1) - 20;
DELETE FROM table2 WHERE IEX_DATE >= (select max(idate) from table2) - 20;
DELETE FROM table3 WHERE IEX_DATE >= (select max(idate) from table3) - 20;
DELETE FROM table4 WHERE IEX_DATE >= (select max(idate) from table4) - 20;
END;
It fails with the error:
Query 1 of 5, Rows read: 0, Elapsed time (seconds) - Total: 0.047, SQL query: 0.047, Building output: 0
6,326 Row(s) Deleted
Query 2 of 5, Rows read: 0, Elapsed time (seconds) - Total: 0.672, SQL query: 0.672, Building output: 0
12,097 Row(s) Deleted
Query 3 of 5, Rows read: 0, Elapsed time (seconds) - Total: 1.25, SQL query: 1.25, Building output: 0
5,040 Row(s) Deleted
Query 4 of 5, Rows read: 0, Elapsed time (seconds) - Total: 0.531, SQL query: 0.531, Building output: 0
Error: ORA-00900: invalid SQL statement
SQLState: 42000
ErrorCode: 900
Error occured in:
END
What am I doing wrong? I've tried different things but nothing seems to give me an executable procedure.
Looks to me like Squirrel (whatever tool that is) processes SQL statements, so has performed the DELETE statements it's found, but doesn't know about PL/SQL code.
What happens if you run the same create procedure statement through SQL*Plus instead?
Similar Messages
-
How can I replace the cursor in the below query?
I have this below query which calls a stored procedure that takes only 1 item's attributes at a time. But because of performance problems we are
required to remove the cursor. How can I replace the below cursor logic with set operations or CTE? Please advice.
DECLARE db_cursor_ava CURSOR
FOR
SELECT t.[agent-id],
t.[start-date],
t.[end-date],
t.[monitor-days],
t.[monitor-start],
t.[monitor-end],
t.[timezone-offset]
FROM @tmpAgentPeriodTimeRange t
OPEN db_cursor_ava
FETCH NEXT FROM db_cursor_ava INTO @agentID_ava,
@stDateTime_ava,
@endDateTime_ava,
@monDays_ava,
@monSt_ava,
@monEnd_ava,
@offset_ava
WHILE @@FETCH_STATUS = 0
BEGIN
DELETE
FROM @tmpMonitorPeriod
DELETE
FROM @tmpFinalResult
SET @runID = 1
IF(@endDateTime_ava>DATEADD(MI,@offset_ava, GETUTCDATE()))
BEGIN
SET @endDateTime_ava=DATEADD(MI,@offset_ava, GETUTCDATE())
END
INSERT INTO @tmpMonitorPeriod
EXEC core.usp_GetMonitoringPeriod
@startDate = @stDateTime_ava,
@endDate = @endDateTime_ava,
@monitoringDays = @monDays_ava,
@monitoringStart = @monSt_ava,
@monitoringEnd = @monEnd_ava
SELECT @maxID = MAX(tm.id)
FROM @tmpMonitorPeriod tm
FETCH NEXT FROM db_cursor_ava INTO @agentID_ava,
@stDateTime_ava,
@endDateTime_ava,
@monDays_ava,
@monSt_ava,
@monEnd_ava,
@offset_ava
END
CLOSE db_cursor_ava
DEALLOCATE db_cursor_ava
mayooran99You've been down this path before - and the response is exactly the same.
how to replace cursor logic
And I'll suggest that you post the entire code - since you repeatedly delete 2 table variables but only populate one. The setting of @maxID also seems to have no purpose. And perhaps the issue here isn't the cursor but the general approach. Who knows
- but it appears you may have prematurely assumed that the cursor is the problem. -
How Can I replace newScale Text Strings with Custom Values?
How Can I replace newScale Text Strings with Custom Values?
How can I replace newScale text strings with custom values?
All newScale text is customizable. Follow the procedure below to change the value of any text string that appears in RequestCenter online pages.
Procedure
1. Find out the String ID of the text string you would like to overwrite by turning on the String ID display:
a) Navigate to the RequestCenter.ear/config directory.
b) Open the newscale.properties file and add the following name-value pair at the end of the file:res.format=2
c) Save the file.
d) Repeat steps b and c for the RmiConfig.prop and RequestCenter.prop files.
e) Stop and restart the RequestCenter service.
f) Log in to RequestCenter and browse to the page that has the text you want to overwrite. In front of the text you will now see the String ID.
g) Note down the String ID's you want to change.
2. Navigate to the directory: /RequestCenter.ear/RequestCenter.war/WEB-INF/classes/com/newscale/bfw.
3. Create the following sub-directory: res/resources
4. Create the following empty text files in the directory you just created:
RequestCenter_0.properties
RequestCenter_1.properties
RequestCenter_2.properties
RequestCenter_3.properties
RequestCenter_4.properties
RequestCenter_5.properties
RequestCenter_6.properties
RequestCenter_7.properties
5. Add the custom text strings to the appropriate RequestCenter_<Number>.properties file in the following manner (name-value pair) StringID=YourCustomTextString
Example: The StringID for "Available Work" in ServiceManager is 699.
If you wanted to change "Available Work" to "General Inbox", you would add the following line to the RequestCenter_0.properties file
699=General Inbox
Strings are divided into the following files, based on their numeric ID:
Strings are divided into the following files, based on their numeric ID:
String ID File Name
0 to 999 -> RequestCenter_0.properties
1000 to 1999 -> RequestCenter_1.properties
2000 to 2999 -> RequestCenter_2.properties
3000 to 3999 -> RequestCenter_3.properties
4000 to 4999 -> RequestCenter_4.properties
5000 to 5999 -> RequestCenter_5.properties
6000 to 6999 -> RequestCenter_6.properties
7000 to 7999 -> RequestCenter_7.properties
6. Turn off the String ID display by removing (or commenting out) the line "res.format=2" from the newscale.properties, RequestCenter.prop and RmiConfig.prop files
7. Restart RequestCenter.
Your customized text should be displayed.I've recently come across this information and it was very helpful in changing some of the inline text.
However, one place that seemed out of reach with this method was the three main buttons on an "Order" page. Specifically the "Add & Review Order" button was confusing some of our users.
Through the use of JavaScript we were able to modify the label of this button. We placed JS in the footer.html file that changes the value of the butt -
Can we replace hp mini 110-1033CA keyboard with 110-1125NR 110-1012NR 110-1033CL Keyboards?
I'm having issues with my hp mini 110-1033ca keyboard. There were few keys (A,S...) not working and then I unpuluged the keyboard and plugged it again. Now only the Tab key is working . I'm going to buy new keyboard . the question is Can we replace hp mini 110-1033CA keyboard with 110-1125NR 110-1012NR 110-1033CL Keyboards or with any other hp mini 110 series keyboard ?
Hi
Please find the link given below might help you check page number 47.
Removal and replacement procedures
Let us know how it goes!
"I work for HP."
****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
****Please mark Accept As Solution if it solves your problem****
Regards
Manjunath -
How I can call Store procedure by TABLENAME.FIELD_VALUE ?
Hello,
I have one table called store_proc_list.
In the table there are two fields ie ID, SP_NAME.
In SP_NAME I have set the store procedure name.
Now,
What I wanted to do is .
I am writting one store procedure and in that
and I want to execute the another store procedure (by name), which I will get from
SELECT sp_name FROM store_proc_list WHERE id=1
How I can do it ?
I tried to do it but I could not get that how we can execute stored procedure by the name which I will get from the table.field_value for the specified condition.
sample will more helpful.
Thanks
Kamlesh Gujarathi
[email protected]I am curious to know how does Execute immediate help in executing the stored prod dynamically...
SQL>CREATE OR REPLACE PROCEDURE test_proc1
2 AS
3 BEGIN
4 DBMS_OUTPUT.PUT_LINE('This is test_proc1');
5 END;
6 /
Procedure created.
SQL>
SQL>CREATE OR REPLACE PROCEDURE test_proc2
2 AS
3 lv_proc_name VARCHAR2(30) := 'TEST_PROC1';
4 BEGIN
5 EXECUTE IMMEDIATE lv_proc_name;
6 END;
7 /
Procedure created.
SQL>sho err;
No errors.
SQL>
SQL>exec test_proc2;
BEGIN test_proc2; END;
ERROR at line 1:
ORA-00900: invalid SQL statement
ORA-06512: at "AIP.TEST_PROC2", line 5
ORA-06512: at line 1
Regards
Arun -
Can I Replace My Keyboard With Back Ligh Keyboard?
I tried to remove the keyboard !
but i failed how to replace the keyboard for my laptop
can i repalce with a backlight keyboard for my laptop?
please help me
This question was solved.
View Solution.Hi there @vishnupraneethr
Welcome to the HP Support Forums!
In answer to your request, I am attaching the HP Pavilion dv7 Notebook PC Maintenance and Service Guide. Within you can find the procedure for replacing the keyboard correctly, as well as as the part numbers for the supported, compatible keyboards. Check on page 59 of the manual for the list of replacement keyboards, and the replacement procedure.
Unfortunately, from the list, it does not appear that any of the options are backlit.
I hope this helps.
Malygris1
I work on behalf of HP
Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
Click Kudos Thumbs Up on the right to say “Thanks” for helping! -
Disk replacement procedure for cluster
Hi,
I have a clustered duplex server with 2 shared external disk shelves.
The disks are striped and then mirrored.
There was a hard disk failure with one of the mirrored disks.
I've found two different disk replacement procedures from the Sunsolve site that people say is the "correct" procedure to replace a disk.
# Doc ID 77375
http://sunsolve.sun.com/search/document.do?assetkey=1-9-77375-1
# Doc ID 70849
http://sunsolve.sun.com/search/document.do?assetkey=1-9-70849-1
I've used the 77375 procedure before but had some trouble with it.
I haven't tried the 70849 procedure yet.
My question:
Has anyone used better/correct procedure than these to replace a hard disk?
I would greatly appreciate if I can get some recommendations based on successful experiences.
Thank you
Host details:
# OS
#uname -a
SunOS xxxx 5.8 Generic_117350-19 sun4u sparc SUNW,Sun-Fire-V440
# Clustering
#scinstall -pv
SunCluster 3.0
SUNWscr: 3.0.0,REV=2000.10.01.01.00
SUNWscu: 3.0.0,REV=2000.10.01.01.00
SUNWscdev: 3.0.0,REV=2000.10.01.01.00
SUNWscgds: 3.0.0,REV=2001.09.14.00.00
SUNWscman: 3.0.0,REV=2000.10.01.01.00
SUNWscsal: 3.0.0,REV=2000.10.01.01.00
SUNWscsam: 3.0.0,REV=2000.10.01.01.00
SUNWscvm: 3.0.0,REV=2000.10.01.01.00
SUNWmdm: 4.2.1,REV=2000.08.08.10.01
SUNWscva: 3.0.0,REV=2001.05.29.11.07
SUNWscvr: 3.0.0,REV=2001.06.18.15.51
SUNWscvw: 3.0.0,REV=2001.06.18.15.51
# Solstice Disksuite
#pkginfo -l SUNWmdr
PKGINST: SUNWmdr
NAME: Solstice DiskSuite Drivers
CATEGORY: system
ARCH: sparc
VERSION: 4.2.1,REV=1999.12.03.10.00
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Solstice DiskSuite Drivers
PSTAMP: 11/04/99-18:30:51
INSTDATE: Apr 24 2006 11:33
VSTOCK: 258-6252-11
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 28 installed pathnames
8 shared pathnames
8 directories
11 executables
1044 blocks used (approx)
#Hi,
I have a clustered duplex server with 2 shared external disk shelves.
The disks are striped and then mirrored.
There was a hard disk failure with one of the mirrored disks.
I've found two different disk replacement procedures from the Sunsolve site that people say is the "correct" procedure to replace a disk.
# Doc ID 77375
http://sunsolve.sun.com/search/document.do?assetkey=1-9-77375-1
# Doc ID 70849
http://sunsolve.sun.com/search/document.do?assetkey=1-9-70849-1
I've used the 77375 procedure before but had some trouble with it.
I haven't tried the 70849 procedure yet.
My question:
Has anyone used better/correct procedure than these to replace a hard disk?
I would greatly appreciate if I can get some recommendations based on successful experiences.
Thank you
Host details:
# OS
#uname -a
SunOS xxxx 5.8 Generic_117350-19 sun4u sparc SUNW,Sun-Fire-V440
# Clustering
#scinstall -pv
SunCluster 3.0
SUNWscr: 3.0.0,REV=2000.10.01.01.00
SUNWscu: 3.0.0,REV=2000.10.01.01.00
SUNWscdev: 3.0.0,REV=2000.10.01.01.00
SUNWscgds: 3.0.0,REV=2001.09.14.00.00
SUNWscman: 3.0.0,REV=2000.10.01.01.00
SUNWscsal: 3.0.0,REV=2000.10.01.01.00
SUNWscsam: 3.0.0,REV=2000.10.01.01.00
SUNWscvm: 3.0.0,REV=2000.10.01.01.00
SUNWmdm: 4.2.1,REV=2000.08.08.10.01
SUNWscva: 3.0.0,REV=2001.05.29.11.07
SUNWscvr: 3.0.0,REV=2001.06.18.15.51
SUNWscvw: 3.0.0,REV=2001.06.18.15.51
# Solstice Disksuite
#pkginfo -l SUNWmdr
PKGINST: SUNWmdr
NAME: Solstice DiskSuite Drivers
CATEGORY: system
ARCH: sparc
VERSION: 4.2.1,REV=1999.12.03.10.00
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Solstice DiskSuite Drivers
PSTAMP: 11/04/99-18:30:51
INSTDATE: Apr 24 2006 11:33
VSTOCK: 258-6252-11
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 28 installed pathnames
8 shared pathnames
8 directories
11 executables
1044 blocks used (approx)
# -
Urgent:why portal30 DAD can not invoke procedure through url
My portal version is 3.0.9
I found an mod/plsql problem .I created a procedure named current_user like this :
create or replace procedure current_users
AS
ignore boolean;
BEGIN
htp.htmlopen;
htp.headopen;
htp.title('Current Users');
htp.headclose;
htp.bodyopen;
htp.header(1, 'Current Users');
htp.bodyclose;
htp.htmlclose;
END;
And I created it in portal30 schema,and I want to use http://<hostname>/pls/portal30/current_users to invoke the procedure but the IE return a "NOT FOUND" error .
I tried to create the procedure in scott schema,and use http://<hostname>/pls/scott/current_users to invoke the procedure ,it worked well.
The diffrent between DAD "scott" and "portal30" is the Authorization type,"scott" use basic auth,and "portal30" use sso.
anybody knows why it appeared?thanks.Thanks , it works now .
But I still has a question,for example:
When I create a procedure to query what is the newest items be added in content area.
Let surppose there has two users:A and B,and I want userA to see 10 Items and userB to see
20 Items because of the diffrent privilege,how can I do it ?
Thanks again -
Executing create or replace procedure statement from plsql script
Hi ,
I want to execute create or replace procedure from pl/sql block without using execute immediate or dbms_sql, please let me know if feasible.
Eg:
declare
begin
create or replace procedure .....
if v_temp = 4 then
end if;
end;
Thanks for help.
Regards,
RKuser588487 wrote:
Actual requirement is I have .sql file which has Create procedure command in it
and i have to conditionally execute the above .sql file so going for a pl/sql block.
Eg:
begin
if variable1 <> variable2 then
@xyz.sql -- contains create or replace procedure statement
insert into tablexyz.....
end if;
end;
Won't work. The PL/SQL code block (also called an anonymous block) is shipped from the client (e.g. SQL*Plus) to the database server. There it is parsed and executed.
It cannot execute SQL*Plus code.
There are 2 basic approaches to address this requirement.
Method 1. Use PL/SQL and SQL to perform the conditional logic checks that SQL*Plus cannot. Use bind variables to "copy" the results between SQL*Plus and PL/SQL, use substitution variables to execute the conditional branch (as a script) in SQL*Plus.
Basic example:
SQL> --// bind variable for passing data to PL/SQL code and
SQL> --// to receive data from PL/SQL code
SQL> var status varchar2(100)
SQL>
SQL> declare
2 function ExistsTable( tableName varchar2 ) return boolean is
3 i integer;
4 begin
5 select 1 into i
6 from user_objects
7 where object_type = 'TABLE'
8 and object_name = tableName;
9 return( true );
10 exception when NO_DATA_FOUND then
11 return( false );
12 end;
13 begin
14 --// determine if table exists
15 if not ExistsTable( 'FOOTAB' ) then
16 --// table does not exists and SQL*Plus client
17 --// needs to run the footab client script
18 :status := 'footab.sql';
19 else
20 :status := 'do-nothing.sql';
21 end if;
22 end;
23 /
PL/SQL procedure successfully completed.
SQL>
SQL> --// use a substitution variable to determine what to do
SQL> set define on
SQL> col STATUS new_value SCRIPT
SQL> select :status as STATUS from dual;
STATUS
footab.sql
SQL>
SQL> --// execute the relevant script (i.e. execute the conditional
SQL> --// branch of the PL/SQL IF condition
SQL> @ &SCRIPT
SQL> --// file: footab.sql
SQL>
SQL> create table footab(
2 id number primary key,
3 col1 number,
4 col2 date
5 ) organization index
6 /
Table created.
SQL>
SQL> --//eof
// running the same steps when the table does exist
SQL> --// bind variable for passing data to PL/SQL code and
SQL> --// to receive data from PL/SQL code
SQL> var status varchar2(100)
SQL>
SQL> declare
2 function ExistsTable( tableName varchar2 ) return boolean is
3 i integer;
4 begin
5 select 1 into i
6 from user_objects
7 where object_type = 'TABLE'
8 and object_name = tableName;
9 return( true );
10 exception when NO_DATA_FOUND then
11 return( false );
12 end;
13 begin
14 --// determine if table exists
15 if not ExistsTable( 'FOOTAB' ) then
16 --// table does not exists and SQL*Plus client
17 --// needs to run the footab client script
18 :status := 'footab.sql';
19 else
20 :status := 'do-nothing.sql';
21 end if;
22 end;
23 /
PL/SQL procedure successfully completed.
SQL>
SQL> --// use a substitution variable to determine what to do
SQL> set define on
SQL> col STATUS new_value SCRIPT
SQL> select :status as STATUS from dual;
STATUS
do-nothing.sql
SQL>
SQL> --// execute the relevant script (i.e. execute the conditional
SQL> --// branch of the PL/SQL IF condition
SQL> @ &SCRIPT
SQL> prompt Nothing to do...
Nothing to do...
SQL> Method 2. Move all "client scripting" to the server. You can still use .sql files. These need to contain valid DDL that can be parsed and executed. On the server, the .sql files are loaded into a table.
This can be a physical load (e.g. using <i>DBMS_LOB.LoadFromFile()</i>). Or you can keep the .sql files on the server and use BFILE pointers instead to the files.
You can now use execute immediate to execute the contents of a .sql file as a CLOB that was read from the table containing the .sql scripts.
To be honest - I have used both methods extensively in the past and no longer bother using either. Table exists when running the table create script? So what. If the table should not exist, use server exceptions in SQL*Plus to cease processing and exit. If it does not matter whether the table exists or not, why be concern with running the script to create the table if the table already exists? -
Can't create procedure with dbms_alert
dbms_alert could be run at sqlqlus.
but i can't create any trigger or procedure with dbms_alert as same user.
what do i should do?
see belows;
---SUCCESS---
SQL> EXEC DBMS_ALERT.REGISTER('AAAA');
PL/SQL procedure successfully completed.
---FAIL---
SQL> CREATE OR REPLACE PROCEDURE SP_COGETALERT(P_ALERT IN VARCHAR2, P_MSG OUT VARCHAR2) IS
2 V_MSG VARCHAR2(1800);
3 V_STAT NUMBER(5);
4 BEGIN
5 DBMS_ALERT.REGISTER(P_ALERT);
6 DBMS_ALERT.WAITONE(P_ALERT, V_MSG, V_STAT);
7
8 P_MSG := V_MSG;
9 DBMS_ALERT.REMOVE(P_ALERT);
10 END SP_COGETALERT;
11 /
Warning: Procedure created with compilation errors.
SQL> SHOW ERR
Errors for PROCEDURE SP_COGETALERT:
LINE/COL ERROR
5/5 PLS-00201: identifier 'DBMS_ALERT' must be declared
5/5 PL/SQL: Statement ignored
6/5 PLS-00201: identifier 'DBMS_ALERT' must be declared
6/5 PL/SQL: Statement ignored
9/5 PLS-00201: identifier 'DBMS_ALERT' must be declared
9/5 PL/SQL: Statement ignoredMost likely this account is getting privileges on DBMS_ALERT through a role. You must have privileges granted directly to you to compile an object with a call to another users object.
Richard -
How these values can return from procedure
Hi,
Here is my procedure, i wanted to return values through this procedure as i assinged values to the d,e and f.But getting error as shown. Is this the way to use the procedure in this case. Also would like to know can i use function instead of procedure for this case.
create or replace procedure Test(a number ,b number, c number, d out number,e out number,f out number ) as
r1 number :=45 ;
r2 number:=43;
r3 number :=32 ;
begin
select 1,2,3 into r1,r2,r3 from dual;
d :=r1;
e :=r2;
f :=r3;
end ;
ORA-06550: line 1, column 18:
PLS-00363: expression '' cannot be used as an assignment target
ORA-06550: line 1, column 21:
PLS-00363: expression '' cannot be used as an assignment target
ORA-06550: line 1, column 24:
PLS-00363: expression '' cannot be used as an assignment target
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ThanksHow did you call the procedure? From the error message my guess would be that it was something like:
SQL> exec test(1, 2, 3, '', '', '');
BEGIN test(1, 2, 3, '', '', ''); END;
ERROR at line 1:
ORA-06550: line 1, column 18:
PLS-00363: expression '' cannot be used as an assignment target
ORA-06550: line 1, column 22:
PLS-00363: expression '' cannot be used as an assignment target
ORA-06550: line 1, column 26:
PLS-00363: expression '' cannot be used as an assignment target
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredWhen it should be more like:
SQL> var d number;
SQL> var e number;
SQL> var f number;
SQL> exec test(1,2,3,:d, :e, :f)
PL/SQL procedure successfully completed.
SQL> select :d, :e, :f from dual;
:D :E :F
1 2 3Since you are returning multiple values, you should not use a function for this. You could return a collection from the function, but you probably master the basics before you start trying things like that.
John -
Hi,
As I am new to wism, I was wondering if there is a procedure to replace a faulty wism? Are the vlan configurations stored on the switch or i would need to resetup a wism module from the intial guide (Example putting in the ip address/service port/vlans/etc...)
I do understand that I would need to restore the wism configuration(wlans/etc...), however not too sure on the initial replacement procedure as in do i need to setup the vlans/ip address/etc... ?
Thanks.Hi Nicolas,
Thanks for the informaiton. Can I say that for the initial config; I would just need to setup the service and management ip address? The management ip address is for web gui to restore the backup configuration while the service ip address is to allow it to communicate to the switch to grab the configured auto-lag config?
If auto-lag has previously been enabled on the switch and if i am replacing the wism on the same slot, I do not need to be concern with the switch configuration? (example wism module xx controller 1/2 allowed-vlan xxx/etc...)
For clarification, access points will fail over(AP fallback configured) to the replacement wism (primary) once the ap-manager ip address is reachable? (not too sure the time)
Thanks. -
I back up with Time Machine and have an extensive elaborate website I created in iWeb '09 over a couple months and publish to a local folder and then upload to my server, but in the last few days I notice certain pages (that I haven't even worked on or touched) somehow become corrupted or "cross-contaminated" with elements and images from other pages. Once I see they are corrupt I make sure not to publish them (if the current published versions are the correct, non-corrupt versions) or if they did get published I can use Time Machine to retrieve the .html file and page files folder for that specific page and replace it in my published folder/server so it shows correctly on the Web. However, that does not replace the corrupted page(s) you see and work with when you launch iWeb and try to edit or continue working on that page.
I am confused as to how I go to the package contents of the domain file and replace just that page with a previous version from time machine. I don't want to replace the entire domain file because I have new changes I made to other pages even in the past hours. How can I keep the good pages and just get earlier, non-corrupted versions of the corrupt page(s)? I know it's not as easy as with the published site folder where you can just replace the page's .html file and folder, but I don't want to have to re-create the corrupted page(s) from scratch or have to replace it with the last non-corrupted domain file and then have to redo all my recent changes to new pages I made before discovering the corrupt page(s). Thanks for your help as now I can't make changes to the page(s) within iWeb itself.Thanks for the response, Wyodor. I don't know what that is, but I'll have a look. Is it an alternative to iWeb or a way to transfer pre-existing iWeb sites? When you say merge domain files, is that like so multiple copies of the same site show up then you can pick and choose the non-corrupted pages and group them then delete the corrupted ones? I am on Snow Leopard with no plans or need to upgrade anytime soon.
And yes, I will read your links but just wanted to ask those questions. Maybe they'll answer my questions, maybe not.
I was able to discern that within the domain file is a domain folder with all the site folders, each with their own page ".gz" files which expand into ".xml" files. I was trying to figure out if you could simply drag the corrupt pages out that way and replace them with backup copies that are still good. I am having trouble discerning which pages are which as they all have random names like site-page-30F175E3-AE33-4F10-A490-1A096D9B185B.xml and although I expanded and opened each in Text Wrangler, I still couldn't discern which were which for sure, and trial and error proved cumbersome. Also, I did notice some of the later corrupted domain files had one or two more pages than the site itself has, so not sure how they got added or duplicated or what.
Again, I'll look at your links, but do you know about swapping out individual page .xml files this way within the domain file? -
How can i replace it?
You probably do in NZ ..................
The Apple iphone warranty is not and never has been from the very first iPhone, international
Sorry but you were stitched up -
I've downloaded the new version, and when I go to drag the Firefox icon into the Applications folder, I'm prompted to replace the old version. When I do, it says, "The operation can’t be completed because you don’t have permission to modify 'Firefox'." I've looked everywhere, and every help forum says to just drag Firefox into the Trash. I've tried that, and it says that Firefox can't be trashed. I don't know if this means anything or not, but there is a small lock in the bottom left of the Firefox icon in my dock.
Try to drag the current Firefox application to the trash if you can't replace it.
Maybe you are looking for
-
Not my fault! came up only once until now, but i�d rather be sure... Exception thrown from Carbon event handler: java.lang.NullPointerException at com.apple.buckyball.app.MouseEventHandler.handleEvent(MouseEventHandler.java:85) at com.apple
-
Fcp X share export media export video & audio but I simply can't work with audio
I simply wanna (and even tried to) save a movie using whichever codec, I make sure to set it up on "export video & audio", but I cannot do anything on audio since the audio file format won't be highlighted (just like if there was no sound on a video
-
--- I use Forms 6 --- Hello, Is it possible to change colour of a line compared to an item value ? For example, I have a Status Item => When status is "actived", the line (exactly, the text of different text items contained in this line) is in red, a
-
Unable to Establishing an anonymously accessible file share on Windows 2008 R2 (SP1)
So far I tried all this to no avail, server keeps prompting me for username/password when I try to access such share from non-domain Windows computer: this is what i tried: 1. Enable the guest account 2. Add the everyone group to both the share and
-
Replace footage crash msvcr100 ppCC win8
Panning and scanning a jpeg of dimensions 3000x2000 approx. I do a zoom out and pan. Copy clip and do >replace with clip > from bin Anything on track v5 or greater crashes (see below) If I do it on track 1-4, no crash If there something special abou