Path to includes are not resolving when define is used

in a Php document path to a class specified with a string resolved without a problem:
require_once ( './classes/class.php' );
However, if a defined variable is used, the path does not resolve and Dreamweaver doesn't help with method hints:
define ( CLASS_DIR . './classes/' );
require_once ( CLASS_DIR . 'class.php' );
As a note,  CLASS_DIR might not be defined in the same document, bu linked from another one that contains the define:
require_once ( './config.php' ); //contains  define ( CLASS_DIR . './classes/' );
As I use defined paths, I can take no advantage of Dreamweaver's hints.

Sounds that you have cleanup or other security software that cause corruption of the file places.sqlite
You need to check the settings of your software and make sure that you exclude the Firefox Profile Folder to avoid such problems.
* http://kb.mozillazine.org/Profile_folder_-_Firefox

Similar Messages

  • I downloaded 10.5.1 now I cannot open libraries from my external hardrive.  They are not highlighted when I open using the Option key

    I downloaded 10.5.1 now I cannot open libraries from my external hardrive.  They are not highlighted when I open using the Option key

    Hello, when you try Tylerdowner's reply make sure that you '''do not install Firefox using a limited Windows XP account''', you need sp2 and above in your xp.
    thank you

  • Jspf files are not interpretated when included? weblogic 8.1

    Well My problem is that jspf files are not interpretated when included
              into jsp files. stuff such as netui tags are included as text and
              printed as such?
              Does this mean that jspf files are only for pure HTML?

    Hey David
              I discovered the error its the special danish letters (which I cant even
              write here due to the charset). ae,oe,aa (???)
              When used as variable names in a jspf file and included they are
              misinterpreted. This is not the case in a jsp file.
              Its clearly a bug in BEA, but I replaced all occurrences and worked
              myself around it.
              David Karr skrev:
              > It's important to understand that JSP pages are compiled into servlet classes, and then loaded into the JVM. The servlet class is executed when the JSP page is loaded by the application.
              >
              > It's also important to understand the difference between an "include directive", and an "include action". The "directive" includes the text into the JSP page before it is compiled, so any JSP tags in the included text will be compiled as if they were part of the original page. The "action" includes the text at run-time, after the JSP is converted to a servlet and loaded into the JVM. If the result of your "include action" is a string of text with JSP tags, that string will be included in the result as-
              > is, without being compiled.
              >
              > From what you describe, I'm guessing you're using an include action, not an include directive. Reorganize your application to use include directives for your ".jspf" files, and you should be on the right track.

  • I burned my first iDVD andpicture quality is not good.  Originals are excellent.  My photos are shot in raw or jpeg, both are not sharp when I view my DVD.  I viewed it on my 1080 dpi tv and my new apple computer.

    I burned my first iDVD andpicture quality is not good.  Originals are excellent.  My photos are shot in raw or jpeg, both are not sharp when I view my DVD.  I viewed it on my 1080 dpi tv and my new apple computer.

    There are many ways to produce slide shows using iPhoto, iMovie or iDVD and some limit the number of photos you can use (iDVD has a 99 chapter (slide) limitation).
    If what you want is what I want, namely to be able to use high resolution photos (even 300 dpi tiff files), to pan and zoom individual photos, use a variety of transitions, to add and edit music or commentary, place text exactly where you want it, and to end up with a DVD that looks good on both your Mac and a TV - in other words end up with and end result that does not look like an old fashioned slide show from a projector - you may be interested in how I do it. You don't have to do it my way, but the following may be food for thought!
    Firstly you need proper software to assemble the photos, decide on the duration of each, the transitions you want to use, and how to pan and zoom individual photos where required, and add proper titles. For this I use Photo to Movie. You can read about what it can do on their website:
    http://www.lqgraphics.com/software/phototomovie.php
    (Other users here use the alternative FotoMagico:  http://www.boinx.com/fotomagico/homevspro/ which you may prefer - I have no experience with it.)
    Neither of these are freeware, but are worth the investment if you are going to do a lot of slide shows. Read about them in detail, then decide which one you feel is best suited to your needs.
    Once you have timed and arranged and manipulated the photos to your liking in Photo to Movie, it exports the file to iMovie  as a DV stream. You can add music in Photo to Movie, but I prefer doing this in iMovie where it is easier to edit. You can now further edit the slide show in iMovie just as you would a movie, including adding other video clips, then send it to iDVD 7, or Toast,  for burning.
    You will be pleasantly surprised at how professional the results can be!
    To simply create a slide show in iDVD 7 onwards from images in iPhoto or stored in other places on your hard disk or a connected server, look here:
    http://support.apple.com/kb/HT1089

  • JPA binding classes are not found when added at runtime

    Hi,
    I have my jpa binding classes in a jar file, which acts as a plugin for my application. I add this jar at runtime using a custom URL class loader. But I am getting exception that my tables are not mapped, when i try to use them.
    Here is the exception :-
    java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: data_source_tab is not mapped [select d from data_source_tab d where d.url = ?1]
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:601)
    at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:96)
    ... 6 more
    Caused by: org.hibernate.hql.ast.QuerySyntaxException: data_source_tab is not mapped [select d from data_source_tab d where d.url = ?1]
    at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:181)
    at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110)
    at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:94)
    at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:316)
    at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3228)
    at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3112)
    at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:720)
    at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:571)
    at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:288)
    at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:231)
    at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:254)
    at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185)
    at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136)
    at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
    at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
    at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
    at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
    at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
    at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1651)
    at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:93)
    If i directly add the jar in my build path, then it is working fine and it is creating the required tables. But the problem is, I get the hold on jar file at runtime.
    Please help me with this.
    Here is my classloader class :-
    public class CustomURLClassLoader extends URLClassLoader
    private static CustomURLClassLoader URLCLASSLOADER = null;
    public CustomURLClassLoader(ClassLoader parent)
    super(new URL[0], parent);
    this.addAllJarsToClassPath();
    * This method adds all the jars in the specified dirs and sub dirs
    * recursively to the classpath. NOTE : Even though we use the term
    * 'classpath' technically URLs are added to a list of URLs to search for
    * classes and resources.
    * @param dirContainingJars
    * The directory containing jars
    * @throws Exception
    public void addJarsToClassPath() throws Exception
    super.addURL("URL of jar file");
    }

    I don't know about hibernate, but EclipseLink allows passing in the classloader to the factory when it gets created as Shaun describes at:
    JPA & Class Loaders
    Best Regards,
    Chris

  • Some of my contact names are not appearing when they text message me.  They are just showing up as their numbers. I have them saved in my phone so i am not really sure why their names aren't showing up when they message me?

    some of my contact names are not appearing when they text message me.  They are just showing up as their numbers. I have them saved in my phone so i am not really sure why their names aren't showing up when they message me?

    I have this identical problem.  For a while my group texts didnt show up on my ipad.  Then one day they did, maybe everyone in the group started using the same os version or something.  Ever since my first reply to the group there have been complaints of multiple threads.  I can not find a pattern for when my group text's decide they want to create a new thread. (it doesnt happen every time)  Everyone in the group has deleted the thread, we've all toggled imessage on/off etc.  There still hasn't been a solution.
    Any help would be appreciated.
    Thanks

  • My speakers are not working when I try to play music or when I get notifications buh when I go to sound and increase and decrease sound it works HELP

    My speakers are not working when I try to play music or when I get notifications buh when I go to sound and increase and decrease sound it works HELP

    Clean iPhone charging port with a clean dry toothbrush. The iPhone port has a short, and falsely senses it is in a dock device.

  • Down pmnts with taxes are not permitted when processing with jur.code (Message no. FS206)

    Hi Guys,
    I am facing very critical issue on down Payment request, to process with saperate Tax Value.
    We are supporting on Roll-out for Germany. We have implemented all standard SAP processes in the Project. We have also implemented many interfaces and one of the Interface is Sabrix Tax Engine (Tax Jurisdiction Code).
    As per the Germany legal requirement, the Tax has to get calculated whenever the funds gets transfered from one Bank Account to Another Bank Account.
    Coming to the issue: In the Customer Down Payment scenario, we are creating the Down payment request for Customer and as per Germany local requirement the Tax of 19% has to get calculated on Down payment.
    For an Example: We have the Sales Order Contract Value of 100,000.00 EUR and we are creating the Down Payment reqeust of 10% which is 10000 EUR + Tax 19% 1900 EUR.
    We are trying to post the Down Payment request in F-37 and we get the issue "Down pmnts with taxes are not permitted when processing with jur.code". This error is appearing due to Sabrix Tax engine (Tax Jurisdiction Code) has implemented in our System.
    We have gone through the SAP notes 97288 and 213567 and understood that the Standard SAP does not support us to post the Down Payment request with Separate Tax Value, when the External Tax Engine has implemented.
    I request you to suggest me, if you have already seen this issue in any of your Projects and fixed through the work-around solution. We have been working on work-around since 2 weeks, however no result.
    Below is the error message:
    Down pmnts with taxes are not permitted when processing with jur.code
    Message no. FS206

    HI Preeti,
    Thanks for your response. We have already seen the similar SAP notes and the SAP notes explains that the "Down pmnts with taxes cannot be done along with with jur.code". The only solution is to post the DP without Tax.
    However there might be some workaround which can be done in SAP, to process the Down Payment/Advance Payments with Tax Value along with Jurisdiction Code. I would like to know this.
    Did any one seen this case in your experiece, if yes, what is the work-around solution?.
    Need your help guys!,...
    Regards,
    Damodar Naidu

  • Links from Search Results are not resolving or take a very long time.

    The searches happen fairly quickly, but the links from the results are not resolving. I am unable to get the information I need. It appears there are performance problems with the site.
    Lennie

    This is the same problem I just posted on for searching DOC SITE!

  • I cannot find information to help me change the orientation of a video filmed in portrait format but only able to be played back lying on its side  (landscape) instead of upright. All the rotation buttons for iPhoto are not 'engaged' when it is in video .

    I cannot find information to help me change the orientation of a video filmed in portrait format but it can only able to be played back lying on its side  (landscape) instead of upright. All the rotation buttons for iPhoto are not 'engaged' when it is in video .

    Thanks OT,
    I tried the Export function but it would not allow me to choose the option of exporting to iMovie. I think you are right about needing Quicktime Pro. I opened iMovie and imported the clip from iPhoto and with some searching found the 'cropping, rotation' mechanism. So I now have a copy in the correct orientation. I plan to import/export it back to iPhoto because I want to have a copy on my iPhone to show people and I wanted to have it available as part of a slideshow I am making in iPhoto of my recent overseas trip. It is a pain that there is no simple orientating tool for the movie clips downloaded to iPhoto with the photos from the one camera.

  • My firefox toolbars are not visible when I open firefox

    All of my firefox toolbars are not visible when I open firefox. I get the tabs but no command menu no search bar or any other toolbar icons help!!
    == This happened ==
    Every time Firefox opened
    == when I logged on one day about 2 weeks ago ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(Linux & OSX see: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M
    <u>''Windows'' Method 2.</u> Press and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar.
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''

  • HT201317 When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • Pictures are not shown when saving to PDF.  Cannot Preview Print Job.

    Help! Pictures are not shown when saving to PDF.  Cannot Preview Print Job.

    I guess you need to fix it
    Or if you would like some help provide some information - there are no mind reader supporting this forum and we can only work with the information you give us - right not that is "it does not work"
    iPhoto has no "save to PDF" function - exactly what are you doing? and what exactly do you want to do?
    LN

  • My previews are not working when I make adjustments

    My previews are not working when I make adjustments?
    I am wondering why this may be?
    I just bought the program like 1 week ago too :-(
    Any ideas?

    What kind of adjustments are you making? Where are you looking for the previews? If you're using select list of filters or color adjustments, have you enabled 'Preview' in the dialog box?

  • Changes are not reflected when objects transported from Quality to Productn

    Hi
    In case of moving some Transport requests from Quality to Production, some times the changes made to the selection screen of a report program doesn't reflect in Production. Also we don't see any Transport error while transporting. Moreover, we can see the changes by regenerating the Program in production.
    Would any one help me out in this with the reason for this.
    Pls suggest what needs to be done.
    Satish.

    HI,
    Thanks for the reply.
    - I have checked the respective transport too, and every thing seems to be fine.
    - Recently we went to go live, for the next release, so earlier before go live, we didnt faced any proble.. Only now we are facing this problem, that we find the changes relating to selection screen are not reflected when the object / prog is moved from qty to Prd.
    - Only problem is with the selection screen.(not getting reflected in PRD. In Qty we are able to see those changes.
    - Then in order to reflect these changes in PRD, we have to re generate the object, then only it get s updated..
    Satish.
    Edited by: satish c on Sep 22, 2009 3:35 PM

Maybe you are looking for

  • How can i increase the maximum size of a text column in Access

    hello, i am inserting data in the MS-Access database through my servlet and am getting the exception whenever the length of the text data is more than 255 characters as in Access the maximum size for character data column is 255 can anyone tell me if

  • Prepopulated Barcodes only show the numeric code and the the Barcode itself

    Hi I created a PDF-Form that is filled by a small C#-program. That works pretty well. In my form is a 3of9 barcode. I can prepopulate it, like any other field. BUT: If I open the prepopulated pdf-file there is no barcode but only the numeric number,

  • Inference control with oracle

    Hi, I need for my master thesis a possibility to realize inference control with oracle. For example exist an instance R like R   |   A    B    C     |  a1   b1   c1     |  a2   b1   c2 and a secrecy such *(exists X) R(a1, b1, X)*. With VPD under colu

  • EA21 Adjustment reversal

    When I used the transaction EA21 both the billing document & the invoice document got reversed. Is this a valid scenario ?? then after adjustment when i rebilled a new invoice document got genertaed which contains the old details as credit and the ne

  • CF9 cfscript documentation/examples?

    I am in the process of updating the CFML mode in the editor I use for CF development and have spent some time going through the available CF9 documentation. In looking through the downloadable PDFs, I am trying to find either examples or reference ma