Keynote and iPhone Remote throwing an error
They remote works great when I open keynote and then use the remote app. But once I stop the slide show, and try and start the slide show again I get an error. When that happens it won't even let me start the slide show manually. I have to shut keynote down and restart it.
Any ideas?
Hi,
Please follow the following procedure.
Goto Transaction SICF->SAP->BC->SAP->Application name(Right click and activate the application)
Hope this solves the issue, let me know if any queries.
Regards,
Rajani
Similar Messages
-
HT3574 Keynote and iphone remote
I want to use keynote on my ipad and use the iphone remote feature, can I use the personal Hotspot to create a wifi connection or is there a more elegant way to pair the two devices when a common wifi connection is not available
Hi there,
While you certainly could export your keytone presentation as images and use those, there is another option I have also used.
If you export your presentation as a quicktime movie and then use Quicktime Pro to convert it so that it may be played on an iPhone/iPod, you can have the presentation mobile and keep your transitions or effects in the presentation.
Edit: Sorry for not reading the thread thoroughly and seeing that this was already suggested. The only problem I ran into while doing this was that the movie wouldn't sync, so I had to use quicktime to convert it so that it would play on a portable device. - Joe
Just a thought.
- Joe
Message was edited by: Joe Maloney1 -
ITunes and iPhone 'Remote' app, only plays one song at a time
Using iPhone 'Remote' app to control iTunes on Mac. I click on Albums, select an album, select the first track, it plays and then stops and goes back to the albums list. I've tried every conceivable combination of the little icons for Shuffle and track repeat, nothing changes this, it always plays just the track and select and then it's done, it goes back to the tracks list. I've spent hours researching this and cannot get it to work. Thanks for any help.
Hi, although unchecking tracks is one way to manage what gets put on your device it has other side effects that make it less effective than the use of selected playlists. I generally use unchecking for marking tracks I'd usually want to ignore, such as bonus interview tracks on an album, or podcasts that aren't compatible with my device.
It is much easier to use playlists rather than check boxes to manage the content. There is no need to make a series of ad hoc playlists however. You'll need two, one of which you can throw away later. Create a new smart playlist with the rules *Playlist is Music* and the option *Match only checked items* ticked. Call it Checked. Now create regular playlist and call it, for example, Sync. Select all the tracks in Checked (cmd-A I think) and drag them into Sync.
Now you can go to your main music library and cmd-click on an empty checkbox to check all of your tracks so the unchecked behaviour no longer interferes with playback. Change your sync options so that the device syncs with your new playlist. In future you can manage the content by adding and removing things from this list instead of checking and unchecking them.
tt2 -
IPad and iPhone Remote app no longer see my AppleTV (1st Generation)
For months, I've been using the Remote app from my iPad to control my first generation AppleTV. When I got an iPhone 4 and got the Remote app for it, I tried to do the same thing, but now AppleTV will not recognize my iPhone 4, and no longer recognizes my iPad. All it will allow me to use is the ****** little remote that came with it.
How do I fix this?
Notes:
AppleTV is synchronized with my iTunes library
Home Sharing on the PC is turned on
Remote App tells me to "turn on home sharing on the AppleTV from the Computers section of the Settings menu" but no such option exists.AppleTV1 doen't use Home Sharing. Try this:
Apple TV (1st generation)
Connect iPhone, iPad or iPod touch to a Wi-Fi network that is connected to the local network that your Apple TV also connected to.
Open the Remote app on your mobile device.
Select Add an iTunes Library in the Remote settings screen. Remote will then display a 4 digit passcode.
On Apple TV, select Settings from the main menu, select General and then Remotes.
Select the name of your iPhone or iPod touch.
Enter the 4 digit passcode. Use the volume up/down keys on the Apple Remote (Infrared) to change the number that is displayed and the track next/back keys to switch digits.
Click Done.
Remote app will be paired with Apple TV and you can begin browsing your library using Remote and select a piece of content to play.
http://support.apple.com/kb/HT1947 -
Airport Express and Iphone Remote Application
I have G5 Power PC using 10.5 software. I have Airport Express that allows me to play my ITunes library remotely through my home sound system. I had downloaded and used the Remote application for the IPhone and it had worked well until I recently added Time Machine for backup and to set up a Home WIFI network using my cable modem connection.
Now I am no longer able to use the Remote App on my Iphone.
I choose the Airport Extreme network and when Remote attempts to connect to my Music Library, a receive the following:
Remote could not connect to your library. If you have a firewall enabled in your router or computer, make sure the firewall is not blocking communication with Remote.
I am not sure where I would go to be able to see if communication is blocked.Thanks for your reply.
Well. I am not using the Airport Express as a modem, but as a node for streaming music (and with lan to wan etherbridge function (proxy STA)). Very easy to notify when it does not communicate, -no music.
I have a zyxzel modem at root to my Internet provider.
I like to know the background info for this settings.
I read about the multicast problem, and therefore enabled the filtering.
I will try these settings you suggested, but is there a reason for those settings, the Th. at 2304 and the B.I. at 75?
It could take some time to see, if these settings ajustments have any effect for my problem, but I will notify any changes.
JE -
MSS Requisitions is not moving to Recruiter's POWL and system is throwing the errors.
Hi everyone,
Hope all are doing in good spirit.
I have an issue in regards with Requisition Creation and its related process.
I am working in Standalone architecture where Recruiting server is in another instance apart from HR system.
We are using WS45600028 standard workflow.
When Manager submits the Requisition to higher level manager to approve, its done successfully and the notification is going to the Manager. But after approval, Requisition is not going to Requiter's POWL queries.
I have maintained Support Group, Lead Recruiter in it and assigned this to Requisition.
I have checked HRP5131 table. But there is no SOBID which sould be flaged as Lead Recruiter.
When Higher level Manager approves the Requisition, It is successful bu there is an error in slg1.
Error: Error when ending the Work item 0000007704 in HR system.
The system returned the call of interface SAP_WAPI_WRITE_CONTAINER in this context
System Response:
Call ended with an error. The function was not executed.
Procedure: Remove call.
At the same system is throwing the error for the User (This user is used for RFC creation using with transaction SM59): No candidate for this User.
Details of error: The error occurred in program CL_HRRCF_CANDIDATE_ADMIN_BL===CM00B line 77
Procedure for system administration:
Check the context in which the error occurs.
Since it it probably program error and not an input error, you should contact SAP.
Can you please look into the above issue and address me if you have any solution for the same.
Any help would be greatly appreciated.
Thank you.
Regards,
SekharHi Nicloe,
Thank you very much for your response.
I have done the data transfer from HR system to E-Rec system through ALE iDoc using PFAL.
All the is transferred and corresponding NA, CP, BP generated in E-Rec for P.
All the users(Recruiter, Managers and Recruiting Admin) data have transferred to E-Rec System.
But when Manager is creating the Requisition Request, it going to his higher level manager for approval and its been approved successfully. Later it is not updating the Recruiter's POWL.
In DB table HRP5125 Requisition data is created but with only few details like Start and End date, Object ID. in E-Rec system.
In HRP5131, NB related data is there but there is no SOBID for lead Recruiter.
Immediately i am getting errors in both HR and E-Rec systems as follows after the Requisition got approved.
In HR system, Error when ending the Work item 0000007704. Workflow completed successfully but still here is an error.
In E-Rec systemThe error occurred in program CL_HRRCF_CANDIDATE_ADMIN_BL===CM00B line 77.
And system says, Since it it probably program error and not an input error, you should contact SAP.
I heard that there might be an inconsistency in NA, BP, CP when we do PFAL transaction for data transfers. Can you suggest me to raise SAP ticket in this context?
Or Did i miss any configuration in this connection?
What can be done now to fix this? I am working EHP 5 and SP level is 11.
Can you please let me know. Kindly help me out of it as i am struck with this since very long time.
Thank you.
Regards,
Sekhar -
Could I connect an iPhone to a LCD projector and project a keynote presentation?
Will an iPhone run Keynote?Hi there,
While you certainly could export your keytone presentation as images and use those, there is another option I have also used.
If you export your presentation as a quicktime movie and then use Quicktime Pro to convert it so that it may be played on an iPhone/iPod, you can have the presentation mobile and keep your transitions or effects in the presentation.
Edit: Sorry for not reading the thread thoroughly and seeing that this was already suggested. The only problem I ran into while doing this was that the movie wouldn't sync, so I had to use quicktime to convert it so that it would play on a portable device. - Joe
Just a thought.
- Joe
Message was edited by: Joe Maloney1 -
Trying to instll iCloud on a new Toshiba laptop so I can sync contacts, calendars, email with my iPhone and iPad. Get error message HRRESULT:OX8007OBC9, says installer encountered errors before iCloud Control Panel 2.0 could be configured. Have the same problem trying to istall iTunes.
Quote from: lcwhitlock on 04-April-14, 13:44:09
Hello darkhawk,
Thank you for the recommendation. I somewhat understand what a MS DOS disk is, but I'm not sure how to go about creating one. I've seen where you can use a program, like Rufus, to create a usb one - but I'm leery about using 3rd-party programs (especially ones I'm not familiar with). I've come across a couple of 'how-to' tuts, but they didn't clarify what files (if any) I would need to include on the disk (for my particular situation). Right now I don't have any blank cds, nor any extra flash/thumb drives - wish I did, but hadn't needed these for years. There has only been one other time where I needed to re-install Windows, but that was over 15 years ago - I did it through BIOS, reformatting my drives, and then reinstalled via the Windows XP disk. Windows 8 is an entirely different breed, which has left me feeling a bit stumped, at times. If there was a way I could perform it (successfully), similar to the first time I did it years ago, I'd give it a try - but at the same time, I'm a bit reluctant, because if it doesn't work, then I'm stuck without any internet access to get further help.
Ask and ye shall receive. This should be doable in Windows 7 and Windows 8 on another PC. I recommend using a USB Flash drive like in this tutorial, but I'm sure you could use something else.
If you want, you could also use Hiren's BootCD to make a bootable CD with many options and programs on it (I keep one, just for certain situations) that will allow you to do the same things.
http://www.hiren.info/pages/bootcd
Also very useful for sorting out virus's as long as it's downloaded and made on another PC that is virus free...... -
Hello All , Request your help on the below issue ,
We have a single server farm SP 2013 where workflow was working as expected but its broken now , Not sure
what caused this. Workflow manager is installed alongside Service Bus. Workflow Manager client is installed on the same SP server.
We are able to create and publish the workflows from SP Designer without errors but when we start the workflow from SharePoint list we get an error " Sorry something went wrong". We have tried creating new workflows but the same problem.
We receive the below error in event viewer.
Error processing management request. Method: PUT, RequestUri: http://server URL:12291/$Workflows/89c767d2-82d2-4bd9-8e5e-dcace81d844f, Error: System.ArgumentException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException:
The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.EndGetResponse(GetAsyncResult`1 thisPtr, IAsyncResult ar)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
--- End of inner exception stack trace ---
Server stack trace:
Exception rethrown at [0]:
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.<>c__DisplayClass6a.<EndCreateOrUpdateWorkflow>b__69()
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
ULS logs give below error
Error 1 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: Servername.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) -
-- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext) StackTrace:
at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE)
at Microsoft.Office.Server.Native.dll: (offset=21B4D)
Error 2 - Error publishing workflow subscription (republish or retry publish) information: Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received
from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId:
ServerName. Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500)
Internal Server Error.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) -
-- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.<>c__DisplayClass1.<CreateDefinitionSubscription>b__0()
at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.CreateDefinitionSubscription(String subscriptionName, Guid eventSourceId, String eventSource, List`1 eventNames, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionStorageEventReceiver.ItemUpdating(SPItemEventProperties properties)
Error3 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: ServerName.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-182846760-3036401646-508972453-351846, AppPrincipalName= ,bstrUrl=http://sharepointsite ,bstrListName={48A21758-9123-48F0-9BDE-9EB632B07BC6} ,bAdd=False ,bSystemUpdate=False ,bPreserveItemVersion=False
,bPreserveItemUIVersion=False ,bUpdateNoVersion=False ,pbstrNewDocId=00000000-0000-0000-0000-000000000000 ,bHasNewDocId=False ,bstrVersion=16 ,bCheckOut=False ,bCheckin=False ,bUnRestrictedUpdateInProgress=True ,bMigration=False ,bPublish=False ,bstrFileName=<null>
Any help appreciated. Thanks in advance.Hi,
As I understand, you encountered the issue when you published a workflow on SharePoint 2013 workflow platform.
I wonder does it work well before when using 2013 workflow platform? If it works before, did you install any updates or change the configuration to the workflow related settings?
If this is the first time after you installed workflow manager 2013, then I’d recommend you try re-registering workflow service per the link below and post the result:
http://technet.microsoft.com/en-us/library/jj663115(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
From the message you accessed workflow host uri, please make sure the account to wfsetup and wfservice account are both in wfadmins group.
http://blogs.msdn.com/b/briangre/archive/2013/02/20/least-privilege-configuration-for-windows-azure-workflow-with-sharepoint-2013.aspx
Regards,
Rebecca Tu
TechNet Community Support -
I can't get mai on the iPad or iphone (and maybe the macbook pro) from Yahoo!. It won't verify the info and has me to authenticate using safari. I hav a PLUS account, have deleted and restarted a new account, but no verif. It used to work, but has quit. Especially worse since running iOS 5. Apple is scheduled for expresslane for 4 - 5 days out. I don't have a current phone number for Yahoo! or I'd be bugging them. It just won't verify even after changing passwords. GMail and iCloud work fin. Any ideas ?
Bwilbraham-
Is your iPad able to access the internet using Safari? If not, I suggest you unplug your WiFi router for a few seconds. Then reset the iPad's network at Settings-General-Reset-Reset Network Settings. You will need to reconnect the iPad to WiFi.
If you are able to access the internet, then there may be a glitch in your iPad Mail setup you are overlooking. It could be something like the letter O where a zero should be, a space where none is allowed or a backward slash (\) where a forward slash (/) is required.
One other thing you can try, is to reset (reboot) your iPad. Hold both the Home and Sleep buttons for several seconds until the Apple logo appears. Ignore the "Slide to power off" arrow. The iPad will restart after a couple of minutes. Resetting this way will not hurt anything, and sometimes clears up mysterious problems.
Fred -
Oracle VM (XEN) and Live Migration throws PCI error
First off, anyone using a HS21 XM blade with Oracle VM? Anyone attempted a live-migration, does it work?
When attempting a live migration on a HS21 XM blade we get the following errors and the host hangs:
102 I Blade_02 08/10/08, 08:46:38 (CADCOVMA02) Blade reboot
103 E Blade_02 08/10/08, 08:46:26 (CADCOVMA02) Software critical interrupt.
104 E Blade_02 08/10/08, 08:46:21 (CADCOVMA02) SMI Hdlr: 00150700 PERR: Slave signaled parity error B/D/F/Slot=07000300 Vend=8086 Dev=3 0C Status=8000
105 E Blade_02 08/10/08, 08:46:19 (CADCOVMA02) SMI Hdlr: 00150900 SERR/PERR Detected on PCI bus
106 E Blade_02 08/10/08, 08:46:19 (CADCOVMA02) SMI Hdlr: 00150700 PERR: Slave signaled parity error B/D/F/Slot=00020000 Vend=8086 Dev=25F7 Statu
107 E Blade_02 08/10/08, 08:46:18 (CADCOVMA02) PCI PERR: parity error.
108 E Blade_02 08/10/08, 08:46:17 (CADCOVMA02) SMI Hdlr: 00150900 SERR/PERR Detected on PCI bus
109 E Blade_02 08/10/08, 08:46:17 (CADCOVMA02) SMI Hdlr: 00150400 SERR: Device Signaled SERR B/D/F/Slot=07000300 Vend=8086 Dev=350C Sta us=4110
110 E Blade_02 08/10/08, 08:46:16 (CADCOVMA02) SMI Hdlr: 00150400 SERR: Device Signaled SERR B/D/F/Slot=00020000 Vend=8086 Dev=25F7 Status=4110
111 E Blade_02 08/10/08, 08:46:14 (CADCOVMA02) PCI system error.
any ideas? I've called IBM support but their options are reseat the hardware or replace it. this happens on more than one blade so we're assuming it has something to do with oracle VM. Thanks!Hi Eduardo,
How are things going ?
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Trying to create new user and getting remote procedure call error
I'm trying to create a new user on my windows 8.1 machine but it's not letting me.
If i open control panel and go to user accounts there's not even an option to add a new user. It's like it's missing, there si a blank space where the link should be. I can change my current account type, and manage another account (though that takes me
to the list of accoutns which shows mine and the guest, but no option to add a new one) or change user account control settings.
If i open the run menu and type "users" there is a program that shows up labeled "add, delete and manage other user accoutns" but if I click that a dialog pops up with the following message
I've run sfc /scannow and it says there are corrupt files but that it couldnt repair them and logged them in the CBS.logOK I tried to run sfc /scannow again, and it said files needed to be fixed on a reboot. I rebooted and I can now create user accounts. So never mind, folks!
Kyle -
uploading worked in the beginning, but in the last few days it has not. how should i proceed.
Go into Settings, iCloud on your iPad & iPhone. Turn streaming on there. I did that when I first set up my phone & iPad & have not had any problems. It will only stream over new photos so take one on your phone & see what happens. I hope that works for you.
-
Updated iTunes and iPhone but would not sync, error 13019 any help
I have done latest updates for both iTunes and iPhone but still shows error 13019, pls help
This might help
http://support.apple.com/kb/TS2830
Also, if you Google "iTunes error 13019", you might find other stuff -
Next / Previous button throwing an error. Please help
I wrote this next previous button code and it is throwing an
error. I don't understand why or what I am missing.
I want it to show 4 records for a page. Here is my code and
the error.
Code:
<cfset CurrentPage=GetFileFromPath(GetTemplatePath())>
<cfquery name="feat" datasource="#sitedatasource#"
username="#siteUserID#" password="#sitePassword#" maxRows=4>
SELECT feature.title AS ViewField1, feature.MYFile AS
ViewField2, feature.ID AS ID
FROM feature
</cfquery>
<cflock timeout="2" scope="application"
type="READONLY">
<cfset application.feat=feat>
</cflock>
<cfset MaxRows_feat=4>
<cfset
StartRow_feat=Min((PageNum_feat-1)*MaxRows_feat+1,Max(feat.RecordCount,1))>
<cfset
EndRow_feat=Min(StartRow_feat+MaxRows_feat-1,feat.RecordCount)>
<cfset
TotalPages_feat=Ceiling(feat.RecordCount/MaxRows_feat)>
<cfset QueryString_feat=Iif(CGI.QUERY_STRING NEQ
"",DE("&"&CGI.QUERY_STRING),DE(""))>
<cfset
tempPos=ListContainsNoCase(QueryString_feat,"PageNum_feat=","&")>
<cfif tempPos NEQ 0>
<cfset
QueryString_feat=ListDeleteAt(QueryString_feat,tempPos,"&")>
</cfif>
<cflock timeout="2" scope="application"
type="READONLY"><cfoutput query="feat"
maxrows="4">#ViewField1#</cfoutput></cflock>
<cfif PageNum_feat GT 1>
<a
href="#CurrentPage#?PageNum_feat=#Max(DecrementValue(PageNum_feat),1)##QueryString_feat#"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Previous','','../img/previous-over.gif',1)"><img
src="../img/previous.gif" alt="Previous Records" name="Previous"
width="96" height="27" border="0" id="Previous" /></a>
<cfif PageNum_feat LT TotalPages_feat>
<a
href="#CurrentPage#?PageNum_feat=#Min(IncrementValue(PageNum_feat),TotalPages_feat)##Quer yString_feat#"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('next','','../img/next-over.gif',1)"><img
src="../img/next.gif" alt="Next Record" name="next" width="96"
height="27" border="0" id="next" /></a>
The Error:
Variable PAGENUM_FEAT is undefined.
The error occurred in
C:\Websites\x9vdzd\feature\featured.cfm: line 8
6 : </cfquery>
7 : <cfset MaxRows_feat=4>
8 : <cfset
StartRow_feat=Min((PageNum_feat-1)*MaxRows_feat+1,Max(feat.RecordCount,1))>
9 : <cfset
EndRow_feat=Min(StartRow_feat+MaxRows_feat-1,feat.RecordCount)>
10 : <cfset
TotalPages_feat=Ceiling(feat.RecordCount/MaxRows_feat)>
I thought I had it defined! What am I missing?
Thanks
Phoenixthat is strange... it should work fine - it does in my tests.
here is somewhat updated & modified code to try. i have
included
comments to try and explain what is being done.
basic logic is as follows:
-form is submitted
-check if file has been selected
-try uploading new file
-if new file upload succeeds, delete old file if it exists
(as part of
updating existing record, as new records obviously would not
have any
old image)
-update/insert record data as necessary
here's the code:
<cfif isdefined("form.feat_OK")><!--- form submitted
--->
<!--- set file uploading vars --->
<cfparam name="fileuploaded" type="boolean"
default="false">
<cfparam name="uploadedfile" default="">
<cfset pathToFile = "c:\websites\x9vdzd\img\feature\">
<!--- --->
<cfif len(trim(form.MYFile))><!--- if a file has
been selected --->
<!--- try uploading new file --->
<cftry>
<cffile Action="upload" filefield="MYFile"
accept="image/gif,
image/jpg, image/jpeg, image/pjpeg"
destination="#pathToFile" nameconflict="MAKEUNIQUE">
<cfset fileuploaded = true>
<cfset uploadedfile = cffile.serverfile>
<cfcatch type="any">
<!--- if upload did not suceed, reset file uploading vars
--->
<cfset fileuploaded = false>
<cfset uploadedfile = "">
<!--- this can be further enhanced by setting some var to
hold error
message and return it to user --->
</cfcatch>
</cftry>
</cfif>
<cfif form.id gt 0><!--- we are updating an
existing record --->
<!--- if new file upload was successful and the feature
has an image
associated with it - delete old image --->
<cfif fileuploaded is true AND
len(trim(form.oldimage))>
<cfif FileExists(pathToFile & form.oldimage)>
<cffile action="delete" file="#pathToFile &
form.oldimage#">
</cfif>
</cfif>
<cfquery datasource="#sitedatasource#"
username="#siteUserID#"
password="#sitePassword#">
UPDATE feature
SET
feature.title=<cfqueryparam cfsqltype="cf_sql_varchar"
value="#form.title#">,
feature.Body=<cfqueryparam cfsqltype="cf_sql_longvarchar"
value="#form.PDSeditor#">,
feature.MYFile=<cfqueryparam cfsqltype="cf_sql_varchar"
value="#uploadedfile#" null="#NOT fileuploaded#">
WHERE ID = <cfqueryparam value="#form.ID#"
cfsqlType="CF_SQL_INTEGER">
</cfquery>
<cfelse><!--- we are inserting a new record --->
<cfquery datasource="#sitedatasource#"
username="#siteUserID#"
password="#sitePassword#">
INSERT INTO feature
(title, body, MYFile)
VALUES
(<cfqueryparam cfsqltype="cf_sql_varchar"
value="#form.title#">,
<cfqueryparam cfsqltype="cf_sql_longvarchar"
value="#form.PDSeditor#">,
<cfqueryparam cfsqltype="cf_sql_varchar"
value="#uploadedfile#"
null="#NOT fileuploaded#">)
</cfquery>
</cfif>
<!--- relocate user to previous page after insert/update
--->
<cflocation url="feature-manager.cfm">
</cfif>
hth
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
Maybe you are looking for
-
Can't use time machine due to corruptness even after reinstalling snow lepoard how to fix?
Yes, someone stole my original apple id in 2009. Now i bought another iphone in late 2012 , Created another apple id due to Apple not being able to help me access my original apple id. Which now since 2 months ago someone or company, or bank stole my
-
I've been running the cloud version of CS6 for a few months, and in the last several weeks, Photoshop has become incredibly slow, and often gets stuck on the "reading preferences" at startup. I went through all the suggested things, (got rid of bad
-
Hai, Can anybody please give me link for upgrading from Forms AS10g (9.0.4) to (10.1.2.0.2)
-
Performance issues-assigning background jobs to a designated server
Hello all, we have been having peformance issues in our production enviorment and were entertaining the idea of running all our our background jobs on a separate/designated server. Has anyone had any experience with this and if so any insight on how
-
anybody have knowledge about reference cursor. please share it with me