HT201210 i have an error of no 11. kindly help, needed urgently
i have an error of no 11. kindly help, needed urgently
when i try to upgrage my
iphone 3gs wit 4.1 to new latest 5.1
it gives the erorr of 11. what that mean? Reply as soon as you can !
thnx
Error -1 may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
Similar Messages
-
Error while running disco report (Help needed urgent)
Hello All,
When i am running a disocoverer report i am getting the following error.
ORA-01840 input value not long enough for date format
ORA-02063 preceding line from prod
The data retrieved by the query is incomplete because it was canclled?
Kind Regards,
Kumar.Hi Kumar
It sounds like you could be trying to use the TO_DATE function and are either passing to it a value that is doesn't understand or you have not defined the format mask. Only if the string being converted is already in the database date format you do not need to provide a format mask. In all other cases you do.
For example, if your database format is DD-MON-YYY then this is valid: TO_DATE('01-OCT-2009')
However, if your format is something like 10/01/2009 you will have to tell Discoverer how the date is made up. In this particular case the answer would be: TO_DATE('10/01/99','MM/DD/YY')
You should notice how the format mask is included in single quotes and separated from the date itself by a comma.
Hope this helps
Best wishes
Michael -
hello good samaritan out there ! am trying to restore my ios for for i phone 3G, but toward the end of the process, i am receiving an error message like "the iphone could not be restored, an unknown error occured(1015). Kindly help me resolve this problem, my iphone has been down for a we
mazunzo tembo wrote:
"the iphone could not be restored, an unknown error occured(1015).
Unauthorized modification of iOS > http://support.apple.com/kb/HT3743
ERROR 1015...
This Error Code is indicative of the Device being jailbroken / Hacked...
Sorry... But...
The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
You will need to look elsewhere. -
Please help, I am trying to restore my iphone 3gs, but i keep getting errors like 11 which is not listed in this site and i alos get error 1 and -1. please help.
Did you manage to fix the issue?
I have exactly the same issue as described above : I installed the update 5.1.1 on my iphone 3GS and since then, I can not turn it on anymore. In Itunes, I get an error 37 when I am doing a restauration and it stops.
This error has nothing to do with firewall : I tried to restore the phone on several computers, including in an Apple reseller and it did not work anywhere.
I spent several hours on phone with the hotline from Apple which arrived to the conclusion that it is a hardware issue, but the phone was working perfectly fine until I installed this update! -
I have an error....The iPod 'iPod' could not be restored. An unknown error occurred (2003).
Please can someone help?Maybe this:
Error 2000-2009 (2001, 2002, 2005, 2006, 2009, and so on): If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above. If the issue persists, it may be related to conflicting security software.
Above from:
http://support.apple.com/kb/TS3694#error2009 -
i have this error ''the iphone *** cannot be updatet at this time because the iphone software update server could not be countacted ore is temporarily unavailable'' i have 2-3 days tha try to update or restore the iphone but tha same again :/ plzz helppp
Try updating directly on the device, via iTunes on the computer, and iTunes on a different computer.
If the iPhone has been hacked or jailbroken, it may not be possible to update. -
Error in database reading ! help needed please.
My project involves monitoring of ovens.
The temperature from the oven are obtained using advantech ADAM module.
Each material enters the oven and an alert is given to take it out after the desired time inside the oven.
When i execute this program. an error pops up exactly 1 our after the start of the program.
Kindly help me.
I have attached the source code including the DB files and the error screen shot.
username: 123456
pass: 123456
Thank you ina advance.
Please help figure out the error.
Regards
Grugh Mike
Success is Everything !!
Solved!
Go to Solution.
Attachments:
New Microsoft Word Document (2).doc 151 KB
source.zip 4529 KBThe biggest problem in your code is architectural. You need to learn about a few things like event-driven programming. As but one example you have an administrative operations VI that would be much smaller and much more efficient if it were built around an event structure and not multiple case statements. Your main application uses sequence structures - which are never necessary. As I recall, the last sequence structure I used in deliverable code was in the spring of '88.
You also are not handling any of errors - which I suspect might be the source of your problem. It's possible that due to an error (which is going unreported) that a connection is being left open when you think it is being closed. But at this point that is just a guess.
Fix the structural problems and you'll then be able to troubleshoot your DB problem. Shoot, in the process of fixing the structural issues, you may fix the DB!
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
HT201210 I have an error coad 2003 what dose this mean
I was synking and my ipad went into restore mode and now it says unable to restore error (2003) I now have a blank ipad... can any one help please
Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
Update to the latest version of iTunes.
Verify the computer's date and time are accurate.
Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
Test restoring while connected to a known-good network. -
My ipod have some error !!!! Help me....
I cannot sync my video to may ipod, I try to sync, but it send error :
" the ipod cannot be synced. The disk could not be read from or written to "
And all my videos in my ipod are gone !! . my ipod is black but it became white when I lost my video in it, now it
is black.
I cannot restore my ipod, it had an error 1418.... I have just updated and reintalled my USB driver but my ipod isn't restored. HELP ME !!!!I am having the same problem. I want to restore but I don't want to lose everything I have in my ipod. What can I do?
-
HALP!
ugh,
You could try to reinstall using the full three step way:
Uninstall, run the Cleaner Tool, and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html -
Error while emailing pdf Smartform- help needed
Hi All,
I have successsully saved smartform as pdf on my local machine and while trying to send the same as an attachment.i am encountering a run time error in SCOT transaction on pressing send message.
Error details are as follows:-
CPIC-CALL: THE SAPECMINIT UNABLE TO DETERMINE HOST ADDRESS
Source Code: SAPMSSY1
CALL RFCIMPORT
The program is given below. Kindly reply me the solution.
All helpful answers will b rewarded.
Regards,
Eureka.
*& Report Z24436_SMARTFORM2 *
REPORT Z24436_SMARTFORM2 .
Global Variables Declarations
DATA: MAt_id TYPE MATNR VALUE '1%',
fm_name TYPE rs38l_fnam.
DATA: ITAB_MAkt TYPE STANDARD TABLE OF MAkt.
DATA: p_form TYPE tdsfname VALUE 'ZUDAY_SMARTFORMS1'.
All Database Selections are here
*Getting Materials belonging to the given plant
SELECT * FROM MAkt INTO TABLE ITAB_MAkt
WHERE MATNR LIKE MAT_id.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = p_form
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
DATA : gw_ssfcrescl TYPE ssfcrescl.
DATA: gt_otf TYPE STANDARD TABLE OF itcoo ,
gt_tline TYPE STANDARD TABLE OF tline,
gt_pdf TYPE STANDARD TABLE OF tline,
gv_len LIKE sood-objlen,
gw_ssfctrlop TYPE ssfctrlop, "for CONTROL_PARAMETERS
gw_ssfcompop TYPE ssfcompop. "for OUTPUT_OPTIONS
gw_ssfctrlop-getotf = 'X'.
gw_ssfctrlop-no_dialog = 'X'.
gw_ssfcompop-tdnoprev = 'X'.
**Calling the generated function module
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = gw_ssfctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = gw_ssfcompop
USER_SETTINGS = 'X'
customer_info = customer
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = gw_ssfcrescl
JOB_OUTPUT_OPTIONS =
TABLES
it_makt = itab_makt
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gt_otf[] = gw_ssfcrescl-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = gv_len
TABLES
otf = gt_otf
lines = gt_pdf
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
DATA:
gt_pdf TYPE TABLE OF tline,
gt_xi_pdf TYPE TABLE OF tline,
gt_pdf_conv TYPE TABLE OF solisti1,
gt_xi_temp TYPE TABLE OF bapiqcmime.
CONSTANTS:
lc_x(1) TYPE c VALUE 'X',
lc_raw(3) TYPE c VALUE 'RAW',
lc_pdf(3) TYPE c VALUE 'PDF',
lc_attach(12) TYPE c VALUE 'ATTACHMENT'.
DATA:
lv_spool TYPE rspoid, "Spool Number
lv_pdf_size TYPE i, "PDF Size
lv_subject(40) TYPE c, "Email subject
lv_tab_lines TYPE sytabix, "Table Lines
lv_date(10) TYPE c, "Variable for date
lv_time(8) TYPE c. "Variable for Time
DATA:
For Compressing document
ls_objpack TYPE sopcklsti1,
lt_objpack TYPE STANDARD TABLE OF sopcklsti1,
To specify subject
lt_objhead TYPE STANDARD TABLE OF solisti1,
ls_objhead TYPE solisti1,
To send the PDF
lt_objbin TYPE STANDARD TABLE OF solisti1,
ls_objbin TYPE solisti1,
Email body
lt_objtxt TYPE STANDARD TABLE OF solisti1,
ls_objtxt TYPE solisti1,
To specify Receivers
lt_reclist TYPE STANDARD TABLE OF somlreci1,
ls_reclist TYPE somlreci1,
Documenting Data
ls_doc_chng TYPE sodocchgi1,
ls_pdf_conv TYPE solisti1.
CONSTANTS: lc_under(1) TYPE c VALUE '_'.
**Copy the Spool request to a Local Variable
lv_spool = sy-spono.
Convert spool job to PDF
***************this is normal report spool to pdf.
but your case it will be smartform to pdf
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lv_spool
no_dialog = lc_x
IMPORTING
pdf_bytecount = lv_pdf_size
TABLES
pdf = gt_pdf
EXCEPTIONS
OTHERS = 0.
To Format the PDF file so as each row contains 255 characters
PERFORM page_format .
Transfer the file to objbin table
LOOP AT gt_pdf_conv INTO ls_pdf_conv.
ls_objbin-line = ls_pdf_conv-line.
APPEND ls_objbin TO lt_objbin.
CLEAR ls_objbin.
ENDLOOP.
*// Creating the document to be sent - Mail subject creation
ls_doc_chng-obj_name = sy-repid.
lv_subject = text-008. "Mail subject
WRITE sy-datum TO lv_date USING EDIT MASK '__/__/____'.
WRITE sy-uzeit TO lv_time USING EDIT MASK '__:__:__'.
CONCATENATE lv_subject lc_under lv_date lc_under lv_time
INTO ls_doc_chng-obj_descr.
*// Email body
PDF attachment of Product Allocation for Open orders
ls_objtxt = text-009.
APPEND ls_objtxt TO lt_objtxt.
Write Date when the mail was sent in the email body
CONCATENATE text-010 lv_date INTO ls_objtxt.
APPEND ls_objtxt TO lt_objtxt.
Write Time when the mail was sent in the email body
CONCATENATE text-011 lv_time INTO ls_objtxt.
APPEND ls_objtxt TO lt_objtxt.
DESCRIBE TABLE lt_objtxt LINES lv_tab_lines.
READ TABLE lt_objtxt INTO ls_objtxt INDEX lv_tab_lines.
Calculate the document size
ls_doc_chng-doc_size = ( lv_tab_lines - 1 ) * 255 +
STRLEN( ls_objtxt ).
*// Creating the entry for the compressed document
CLEAR ls_objpack-transf_bin.
ls_objpack-head_start = 1.
ls_objpack-head_num = 0.
ls_objpack-body_start = 1.
ls_objpack-body_num = lv_tab_lines.
ls_objpack-doc_type = 'RAW' . "RAW
APPEND ls_objpack TO lt_objpack.
CLEAR lv_tab_lines.
DESCRIBE TABLE lt_objbin LINES lv_tab_lines.
ls_objhead = ls_doc_chng-obj_descr.
APPEND ls_objhead TO lt_objhead.
*// Creating the entry for the compressed attachment
ls_objpack-transf_bin = lc_x.
ls_objpack-head_start = 1.
ls_objpack-head_num = 1.
ls_objpack-body_start = 1.
ls_objpack-body_num = lv_tab_lines.
ls_objpack-doc_type = 'PDF'. "PDF
ls_objpack-obj_name = 'ATTACHMENT'. "ATTACHMENT
CONCATENATE lv_subject lc_under lv_date lc_under lv_time
INTO ls_objpack-obj_descr.
CLEAR: ls_objbin.
READ TABLE lt_objbin INTO ls_objbin INDEX lv_tab_lines.
ls_objpack-doc_size = ( lv_tab_lines - 1 ) * 255 +
STRLEN( ls_objbin ).
APPEND ls_objpack TO lt_objpack.
ls_reclist-receiver = '[email protected]'.
ls_reclist-receiver = gv_email_addr.
ls_reclist-rec_type = 'U'.
APPEND ls_reclist TO lt_reclist.
IF ls_reclist-receiver IS INITIAL.
MESSAGE i175.
ELSE.
*// Send EMail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = ls_doc_chng
put_in_outbox = lc_x
commit_work = lc_x
TABLES
packing_list = lt_objpack
object_header = lt_objhead
contents_bin = lt_objbin
contents_txt = lt_objtxt
receivers = lt_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 3
OTHERS = 99.
CASE sy-subrc.
WHEN 0.
Mail successfully delivered
*// Do nothing
WHEN 1.
This will never occur as at any point of time mail will be
sent to one processor only.
*// Do nothing
WHEN 2.
MESSAGE i175.
WHEN 3.
MESSAGE i175.
*// Do nothing
ENDCASE.
ENDIF.
REFRESH: lt_objpack,
lt_objbin,
lt_objtxt,
lt_objhead,
lt_reclist.
CLEAR: ls_reclist,
ls_doc_chng,
ls_objpack,
ls_objhead,
ls_objtxt.
DATA : gv_filename LIKE rlgrap-filename VALUE 'C:\Udaya4.pdf'.
CALL FUNCTION 'DOWNLOAD'
EXPORTING
bin_filesize = gv_len
filename = gv_filename
filetype = 'BIN'
filetype_no_show = 'X'
IMPORTING
act_filename = gv_filename
filesize = gv_len
cancel = ''
TABLES
data_tab = gt_pdf.
FORM page_format .
Local data
DATA : lv_lines TYPE i,
lv_temp(500) TYPE c,
lv_offset TYPE p,
lv_lineslen(2) TYPE p,
lv_mimelen(2) TYPE p,
lv_tabix LIKE sy-tabix,
ls_pdf_conv TYPE solisti1,
ls_xi_temp TYPE bapiqcmime,
ls_xi_pdf TYPE tline.
CLEAR : gt_xi_pdf,
gt_xi_temp.
REFRESH: gt_xi_pdf,
gt_xi_temp.
Copy the PDF file into table gt_xi_pdf
gt_xi_pdf[] = gt_pdf[].
Reformat the line to 255 characters wide (code from SAP)
CLEAR: lv_temp, lv_offset, gt_xi_temp.
DESCRIBE TABLE gt_xi_pdf LINES lv_lines.
DESCRIBE FIELD ls_xi_pdf LENGTH lv_lineslen IN CHARACTER MODE.
DESCRIBE FIELD ls_xi_temp LENGTH lv_mimelen IN CHARACTER MODE.
Go through all the lines of table gt_xi_pdf
LOOP AT gt_xi_pdf INTO ls_xi_pdf.
lv_tabix = sy-tabix.
Move ls_xi_pdf into lv_temp variable
MOVE ls_xi_pdf TO lv_temp+lv_offset.
Check if its the last line of table gt_xi_pdf
IF lv_tabix = lv_lines.
lv_lineslen = STRLEN( ls_xi_pdf ).
ENDIF.
Calculate the new offset
lv_offset = lv_offset + lv_lineslen.
Check if the new offset is equal to or greater than the length of
gt_xi_temp
IF lv_offset GE lv_mimelen.
CLEAR ls_xi_temp.
Copy the PDF data into gt_xi_temp
ls_xi_temp = lv_temp(lv_mimelen).
APPEND ls_xi_temp TO gt_xi_temp.
SHIFT lv_temp BY lv_mimelen PLACES.
Calculate the new offset
lv_offset = lv_offset - lv_mimelen.
ENDIF. "Offset GE MIMELEN
Check if its the last line of gt_xi_pdf
IF lv_tabix = lv_lines.
Check if lv_temp has some data that is not been transferred to
gt_xi_temp
IF lv_offset GT 0.
CLEAR ls_xi_temp.
Copy the PDF data into gt_xi_temp
ls_xi_temp = lv_temp(lv_offset).
APPEND ls_xi_temp TO gt_xi_temp.
ENDIF. "lv_offset GT 0
ENDIF. "lv_tabix = lv_lines
ENDLOOP.
gt_pdf_conv[] = gt_xi_temp[].
ENDFORM. " page_formatall settings in SCOT is ok ? like SMTP settings , link b/w ur Outlook server and SAP server ?
Regards
Prabhu -
Error while importing the epa file..help needed urgently..
Hi,
I am facing a severe problem, I have developed a portal application, designed the pages, iViews roles etc and exported to a file and later downloaded the epa file.
For testing purpose, I deleted my content folder of the pages and iViews from the content administration. But when i tried to import the file, I am getting an error message
<b>" Error extracting the package file. Check the log files for details. "</b>
When i lokked the log file, i found the exception as
<b>" [com.sapportals.portal.transport.ui.ImportComponent] Error while extracting EP6.0 package C:
usr
sap
J2E...
MyEpafile.epa "</b>
and below the erro i found an exception message as <b>"error in opening zip file"</b>
When i tried to extract the file using winzip, I can extract it with out any problem..
Can you please tell me how this happened?
Please help me to solve this problem,
Thankyou,
Sudheesh...Hi Christopher,
Well, I have solved the problem. But I don't know whether it will be the correct technical way.. Because i have to solve the same under a very little time constraint. The solution is given below,
I unzipped the epa file which i have downloaded using winzip. inside the extracted file, i found a zip file with the same file name and extension. when i uploaded that file, it worked fine with out any problem. I tried the same many times. and each time i got the same results.
Please try this if you are still facing the problem..
Best regards,
Sudheesh... -
Photoshop Elements 12 installation error on windows causing rollback-help needed please
I am installing Photoshop Elements 12 on my windows laptop. When almost done an error occurs and it starts rollback and the installation fails. I consulted the troubleshooting guide which suggests to go to C://Program Files(x86)/Common Files/Adobe/OOBE/PDApp and delete the files PDAppFlex.swf and PDAppFlex-app.xml .I have managed to go to Program Filesx86, Common Files, Adobe, but then the folder OOBE is absent. Within the Adobe folder I have AAMUpdaterinventry, Acrobat, Acrobat PCD, Help, PCF, SL Cache and Updater6. The files suggested to delete before retrying installation are not present in any of these folders.
Has anybody any ideas on what I should do in order to complete my installation.
Thanks very much,
TimWithout proper detailed system information nobody can know what is going on. Also try to find the pertinent info from the install logs.
Mylenium -
SIGABRT error - PLEASE HELP - NEEDED URGENTLY
Hello guys pls hep me out, i am new to ios sdk
i am getting a sigabrt error
This is how my app goes:
$ A story board app
$ 1 view controller embedded in a navigation controller
$ 1 TableViewController And 1 more UIViewController
$ When a user clicks button in the first viewcontroller he is pushed to the table view controller
$ 3 Class files (h and m)
$ 1 class file is an object
$2nd class file is table view controller
$ 3rd is UIVIewController
now the problem is that when i click the button in the first viewcontoller i get a sigbrt error telling me that the cell text labeling is wrong and that sigabrt error with a green highlight stays on the code..
I HAVE HIGHLIGHTED THE CODES THAT SHOWS SIGABRT ERROR
My codes:
URL.h
#import <Foundation/Foundation.h>
@interface url : NSObject
@property (nonatomic, strong) NSString *urlstring;
@property (nonatomic, strong) NSString *ns;
@end
url.m:
#import "url.h"
@implementation url
@synthesize urlstring, ns;
@end
load.h;
#import <UIKit/UIKit.h>
#import "url.h"
@interface load : UIViewController
@property (strong, nonatomic) IBOutlet UIWebView *webview;
@property (strong, nonatomic) url *currenturl;
@property (strong, nonatomic) NSString *path;
@property (strong, nonatomic) NSString *finalpath;
@property (strong, nonatomic) NSString *value;
@end
load.m:
#import "load.h"
@interface load ()
@end
@implementation load
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
return self;
- (void)viewDidLoad
NSURL *ul = [NSURL URLWithString:[_currenturl urlstring]];
[self.webview loadRequest:[NSURLRequest requestWithURL:ul]];
[super viewDidLoad];
// Do any additional setup after loading the view.
- (void)didReceiveMemoryWarning
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
@end
wwp.h ( wizards of waverly place i am trying to create an app that shows all the episodes)
#import <UIKit/UIKit.h>
#import "url.h"
#import "load.h"
@interface wwp : UITableViewController <UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) NSDictionary *seasons;
@property (nonatomic, strong) NSArray *keyseasons;
@property (strong, nonatomic) NSString *path;
@property (strong, nonatomic) NSString *finalpath;
@property (strong, nonatomic) NSString *value;
@end
wwp.m
#import "wwp.h"
#import "url.h"
@interface wwp ()
@end
@implementation wwp
@synthesize seasons, keyseasons;
NSMutableArray *urls;
-(void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([segue.identifier isEqualToString:@"showurl"]) {
load *dvc = [segue destinationViewController];
NSIndexPath *path = [self.tableView indexPathForSelectedRow];
url * c = [urls objectAtIndex:path.row];
[dvc setCurrenturl:c];
- (id)initWithStyle:(UITableViewStyle)style
self = [super initWithStyle:style];
if (self) {
// Custom initialization
return self;
- (void)viewDidLoad
[super viewDidLoad];
urls = [[NSMutableArray alloc] init];
url *link = [[url alloc] init];
[link setUrlstring:@"E1 Crazy Ten Minute Sale"];
[link setNs:@"E1 Crazy Ten Minute Sale"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E2 First Kiss"];
[link setNs:@"E2 First Kiss"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E3 I Almost Drowned in a Chocolate Fountain"];
[link setNs:@"E3 I Almost Drowned in a Chocolate Fountain"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E4 New Employee"];
[link setNs:@"E4 New Employee"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E5 Disenchanted Evening"];
[link setNs:@"E5 Disenchanted Evening"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E6 You Can't Always Get What You Carpet"];
[link setNs:@"E6 You Can't Always Get What You Carpet"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E7 Alex's Choice"];
[link setNs:@"E7 Alex's Choice"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E8 Curb Your Dragon"];
[link setNs:@"E8 Curb Your Dragon"];
[urls addObject:link];
NSString *myfile = [[NSBundle mainBundle] pathForResource:@"SeasonWowp" ofType:@"plist"];
seasons = [[NSDictionary alloc] initWithContentsOfFile:myfile];
keyseasons = [seasons allKeys];
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
- (void)didReceiveMemoryWarning
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
// Return the number of sections.
return 1;
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
// Return the number of rows in the section.
return [seasons count];
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
static NSString *CellIdentifier = @"cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (nil == cell) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
url *current = [urls objectAtIndex:indexPath.row];
[cell.textLabel setText:[current ns]];
return cell;
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the specified item to be editable.
return YES;
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete the row from the data source
[tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
else if (editingStyle == UITableViewCellEditingStyleInsert) {
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the item to be re-orderable.
return YES;
#pragma mark - Table view delegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
// Navigation logic may go here. Create and push another view controller.
<#DetailViewController#> *detailViewController = [[<#DetailViewController#> alloc] initWithNibName:@"<#Nib name#>" bundle:nil];
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:detailViewController animated:YES];
@endSorry my mistake,
i didnt intend to highlight it all... happened by mistake... before publishing the post i had the actuall thing highlighted and now its not any ways this the code that shows the error: ( the one which is Bolded,Italiced ,Underlined)
wwp:
#import "wwp.h"
#import "url.h"
@interface wwp ()
@end
@implementation wwp
@synthesize seasons, keyseasons;
NSMutableArray *urls;
-(void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([segue.identifier isEqualToString:@"showurl"]) {
load *dvc = [segue destinationViewController];
NSIndexPath *path = [self.tableView indexPathForSelectedRow];
url * c = [urls objectAtIndex:path.row];
[dvc setCurrenturl:c];
- (id)initWithStyle:(UITableViewStyle)style
self = [super initWithStyle:style];
if (self) {
// Custom initialization
return self;
- (void)viewDidLoad
[super viewDidLoad];
urls = [[NSMutableArray alloc] init];
url *link = [[url alloc] init];
[link setUrlstring:@"E1 Crazy Ten Minute Sale"];
[link setNs:@"E1 Crazy Ten Minute Sale"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E2 First Kiss"];
[link setNs:@"E2 First Kiss"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E3 I Almost Drowned in a Chocolate Fountain"];
[link setNs:@"E3 I Almost Drowned in a Chocolate Fountain"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E4 New Employee"];
[link setNs:@"E4 New Employee"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E5 Disenchanted Evening"];
[link setNs:@"E5 Disenchanted Evening"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E6 You Can't Always Get What You Carpet"];
[link setNs:@"E6 You Can't Always Get What You Carpet"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E7 Alex's Choice"];
[link setNs:@"E7 Alex's Choice"];
[urls addObject:link];
link = [[url alloc] init];
[link setUrlstring:@"E8 Curb Your Dragon"];
[link setNs:@"E8 Curb Your Dragon"];
[urls addObject:link];
NSString *myfile = [[NSBundle mainBundle] pathForResource:@"SeasonWowp" ofType:@"plist"];
seasons = [[NSDictionary alloc] initWithContentsOfFile:myfile];
keyseasons = [seasons allKeys];
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
- (void)didReceiveMemoryWarning
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
// Return the number of sections.
return 1;
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
// Return the number of rows in the section.
return [seasons count];
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
static NSString *CellIdentifier = @"cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (nil == cell) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
url *current = [urls objectAtIndex:indexPath.row];
[cell.textLabel setText:[current ns]];
return cell;
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the specified item to be editable.
return YES;
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete the row from the data source
[tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
else if (editingStyle == UITableViewCellEditingStyleInsert) {
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the item to be re-orderable.
return YES;
#pragma mark - Table view delegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
// Navigation logic may go here. Create and push another view controller.
<#DetailViewController#> *detailViewController = [[<#DetailViewController#> alloc] initWithNibName:@"<#Nib name#>" bundle:nil];
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:detailViewController animated:YES];
@end -
Hi everybody,
I am very new to servlets and have no idea of JSP. I was reading the book Head First Servlets and JSP and came across a simple servlet in the first chapter...which I am unable to execute for the past 3-4 days after putting more than 5hrs per day..just trying to rectify this issue. My program name is Ch1Servlet.java. My Errors on compiling the code from command prompt is as below.
I run the following command.
C:\Sun_Java\Head First Servlet and JSP Examples\Project1\src>javac -classpath C:\Sun_java\Tomcat\Tomcat\lib\servlet-api.jar Ch1Servlet.java
On execution, the above gives
Ch1Servlet.java:5: cannot find symbol
symbol: class HTTPServlet
public class Ch1Servlet extends HTTPServlet
^
Ch1Servlet.java:7: cannot find symbol
symbol : class HTTPServletRequest
location: class Ch1Servlet
public void doGet(HTTPServletRequest request, HTTPServletResponse response) throws IOException
^
Ch1Servlet.java:7: cannot find symbol
symbol : class HTTPServletResponse
location: class Ch1Servlet
public void doGet(HTTPServletRequest request, HTTPServletResponse response) throws IOException
^
3 errors
My Program code for Ch1Servlet.java is below:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class Ch1Servlet extends HTTPServlet
public void doGet(HTTPServletRequest request, HTTPServletResponse response) throws IOException
PrintWriter out = response.getWriter();
java.util.Date today = new java.util.Date();
out.println("<html>"+"<body>"+"<h1 align=center>HF\'s Chapter 1 Servlet</h1>"+"<br>"+"</body>"+"</html>");
My classpath setting inside User Variables(My Computer Right Clicked and Advanced tab selected. This has Environment variables button...which on clicking gives User variables and System variables window. I created the user variable "CLASSPATH")
Variable Name: CLASSPATH
Variable Value: .;C:\Sun_Java\SDK\lib;C:\Sun_Java\SDK\jdk\bin;C:\Sun_Java\Tomcat\Tomcat\lib\servlet-api.jar
I feel the class path is set correctly....and there are no issues with the code either...It is just that I am unable to import the http package in javax.servlet.http
My Tomcat version is 6.0
My J2EE version is Java EE 5 SDK.
I am not using any editors for the time being. Tomcat server seems to be working perfectly as I could run local host web page which says "Welcome to Tomcat".
Any help shall be appreciated.
Thanks,
RahulYou need to pay more attention while reading: it's Http not HTTP, in all places :)
In almost all Java names ( unfortunately, not all ), you'll find that the name case follows this pattern.
Maybe you are looking for
-
Hello all, when I started Raptor for the first time I was asked to enter the path to "java.exe". I entered "d:\raptor\raptor\jdk\jre\bin" to be sure to have the right one. Then Raptor started. When I try to create a new connection, a window named "Ne
-
Sony AVCHD (MTS) shimmering lines issue (moire? aliasing?)
I have just started working with AVCHD / MTS source files (29.997 fps, 1080p) and have been experiencing a problem with shimmering straight horizontal or diagonal lines. The source files look fine, but upon exporting / converting to a common format f
-
"User is not setup correctly" error message in iStore
Hi I am getting a strange error message when I log into iStore using the iStore Administrator responsibility. I navigate to Catalog > Products, I select a product and press "Update". As soon as I do this, I get this exact error message "User is not s
-
.attr files (un-attached)
After a series of mishaps last year, some recovered files ended up in a "lost & found" folder. Many were some of my missing photos -- either in the original pre-iPhoto folder system [which I used to use under System 9] or in some variant of iPhoto st
-
Hi, we have B/1 2004A SP0 PL 42. Is it possibile close an item on purchase order (and only this item) after a partial goods receipt ? We have found only to close entire document in document header. Thank you for attention. Regards.