Problème avec Dreamweaver CS3 et PHP
Bonjour,
J'écris ici car j'ai de gros soucis avec Dreamweaver CS3
... En effet, du jour au lendemain, il m'a été impossible
de faire des insertions dans ma base de donnée (en local),
provoquant des erreurs du genre :
Warning: Cannot modify header information - headers already
sent by (output started at ...
Bref, ca fonctionnait parfaitement avant, et là, plus
rien ne marche ...
Avez vous une idée du problème ? (j'ai déja
réinstallé le logiciel) et j'ai essayé avec easyPHP
1.8 et Wamp (même problème, j'ai également
changé de navigateur, même problème ...
J'ai vu sur des forums que ce problème était
lié à la fonction header(sprintf("Location: %s",
$insertGoTo));
Le problème étant que cela ne m'était jamais
arrivé, et que là, systématiquement j'ai des
problèmes...
Je suis déséspéré, j'ai vraiment besoin
de votre aide
Merci de votre aide.
I don't use the DMX extension myself and have never used Dreamweaver data bindings, so I can't help you with this. I write all my own code.
I do use PDO. Have used it for a few years now. Here is my connection script for PDO on my testing environment. I can help you troubleshoot PDO issues.
<?php
$dsn ='mysql:dbname=xxxxxx;host=localhost;port=3306';
$user='xxxxxx';
$password='xxxxxx';
try {
$dbh = new PDO($dsn, $user, $password, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
// VERY IMPORTANT!!!
// activate the next line for the remote server. activate the line following it for the local server
// you want to see error messages on the local system but not the remote system
//$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$dbh->query=("set names utf8");
$dbh->exec('SET CHARACTER SET utf8');
$dbh->exec('SET character_set_server=utf8');
catch (PDOException $e) {
die('Connection failed: .$e->getMessage()');
Similar Messages
-
I'm using Dreamweaver CS3 for PHP - Is there a better option?
Most of my friends seem to use regular text editors for their php programming. I do not need to connect to a database with my coding. I just would like something that understands php functions and such, so that appropriate areas are highlighted.
Or so that php errors such as missing semicolons and such are easy to spot.
What would you recommend I switch to? Or is there not something that Adobe makes that is specifically for PHP?While Dreamweaver CS4 didn´t add significant improvements for PHP developers in particular, the new version CS5 is indeed a huge step forward. Please have a look at the excellent review by David Powers: Dreamweaver CS5 is good news for PHP devs
My recommendation ? Well, if you consider Dreamweaver CS3 in general (not just talking about the PHP specific features) as overall helpful tool in many areas (e.g. CSS rendering, visual layout drafts etc), then CS5 will be an improvement in these areas as well and could be worth trying/buying. On the other hand: if you´re only interested in "whatever" development tool to give you advanced PHP support, the Eclipse - based Aptana plugin or the Netbeans PHP IDE are pretty fine tools as well.
Cheers,
Günter -
Problème avec Dreamweaver sur Internet
Salut
J'ai un problème de présentation sur Internet je ne suis pas capable de positionner mes pages de référence
J'ai comparé les codes avec une autre page semblable, les deux semblent similaires mais ça ne marche pas
Comme lorsque l'on regarde trop, on ne le voit pas
Ma page est http://sergebelanger.ca/Spiritualite/Conversation avec Dieu Tome II.html
Si quelqu'un a une suggestion
Merci
SergeI send you the files
Yes, but a) it is far easier for us to help when the pages are posted online and b) I'd hoped you would fix the double-appearance of the id="corps" on the page.
Nevertheless, I did check and have this to offer:
Change this selector simply to:
.pageNumber {
float:right;
And note that on that page there is no id="#mainContent" so this selector is not functioning:
#mainContent p {
position: relative;
font-family: Verdana, Arial, Helvetica, sans-serif;
And note, again, that there is a div with id="corps" as well as a malformed span with that id as well:
<p>Remarque: la lettre P dans mon document fait référence à la page dans le livre. C’est l’édition originale chez Ariane Édition. </p>
<span id="corps"><br />
Simply removed that span tag.
Hope that helps. btw. I tested my edit only in FF (your page was broken in both FF and IE8 for me)
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Problème avec Dreamweaver sur Internet Pour loveanie
J'ai corrigé mon deuxième fichier Conversation avec Dieu Tome II.html et mes numéro de pages se retrouvent dans le texte
J'ai comparé ce fichier avec celui que tu m'avais envoyé Untitled, ligne par ligne, tout parait semblable
Est ce une subtilité que je n'ai pas compris ou bedon !!!
Merci
SergeI send you the files
Yes, but a) it is far easier for us to help when the pages are posted online and b) I'd hoped you would fix the double-appearance of the id="corps" on the page.
Nevertheless, I did check and have this to offer:
Change this selector simply to:
.pageNumber {
float:right;
And note that on that page there is no id="#mainContent" so this selector is not functioning:
#mainContent p {
position: relative;
font-family: Verdana, Arial, Helvetica, sans-serif;
And note, again, that there is a div with id="corps" as well as a malformed span with that id as well:
<p>Remarque: la lettre P dans mon document fait référence à la page dans le livre. C’est l’édition originale chez Ariane Édition. </p>
<span id="corps"><br />
Simply removed that span tag.
Hope that helps. btw. I tested my edit only in FF (your page was broken in both FF and IE8 for me)
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Inserting & uploading records with Dreamweaver CS3, MYSQL & PHP
I'm able to build a web page that allows for images to be
uploaded to a server folder. Also have a web page created to insert
info about the image into a MYSQL/PHP database.
My goal is to find a way to combine the two together so that
when you click the submit button... 1) the image gets uploaded to
the server folder, 2) the info about the image gets placed into the
database table, and 3) there is an entry in the database that
establishes the path to the image.
Any help or direction to a tutorial would be greatly
appreciated.I use a DW extension from DMXzone (Pure PHP Upload) that
allows me to both insert data form an online form into a MySQL
table as well as upload files to a directory on the server with one
button click. This might be a solution for you. -
URGENT: Dreamweaver CS3 crashes while uploading any PHP File
Hello,
My Dreamweaver CS3 crashes everytime I try to upload any PHP
file to the Web Server. It does upload the file but crashes and you
received a "Not Responding" error in the Windows title bar. I did
search alot on this issue until I found the ".
Dreamweaver
CS3 crashes after DST ends" problem. I deleted the cache file
as required but of NO HELP.
. It is very annoying to restart Dreamweaver
everytime you want to upload any PHP file to the Web Server after
editing it. It doesn't happen with any other types of files. Please
help me guys here or I will lose my mind.Bad news for you too.
First, you are not addressing Adobe here in the user forums.
Secondly, Adobe does not support CS3 any longer because it hasn't been sold for years.
Therefore, you're left to the good will of fellow users who volunteer their time here free of charge, if one of them has a solution to your issue. No one is under any obligation to reply, so ask nicely.
One thing I can tell you is that you have not applied any of the versions available for Photoshop. Unfortunately, the Adobe auto updater was an unmitigated piece of cr@p in any version prior to CS6. Do not rely on it to assume you are up to date just because it doesn't show any updates available to you under Help > Updates.
You need to look for the downloads and apply them manually yourself.
I can't offer any more assistance because I don't do Windows. Sorry. -
Php extensions in Dreamweaver CS3
I have installed Dreamweaver CS3, I am now trying to run a
simple PHP script (A 'Hello World') however when I try running the
.php file my browser seems to timeout and the page does not run.
When I run a standard HTML page on the same website it does work.
I am using IIS 5.1 is there something else I need to set-up
for php to work?millsyadam wrote:
>
>
> I have installed Dreamweaver CS3, I am now trying to run
a simple PHP script
> (A 'Hello World') however when I try running the .php
file my browser seems to
> timeout and the page does not run. When I run a standard
HTML page on the same
> website it does work.
> I am using IIS 5.1 is there something else I need to
set-up for php to work?
Sounds like you have a problem with your PHP install (you do
have it installed right?). Maybe take a look at this page for
installing PHP:
http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WS9C4F33E1-12B2-4e40-BD4 0-5D66C1F75EB6.html
You may want to ask follow up questions in the App Dev forum
as that forum is focused on the dynamic server side of Dreamweaver:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=12&catid=263&entercat= y
Danilo Celic
|
http://blog.extensioneering.com/
| Adobe Community Expert -
Missing File - Adobe Dreamweaver CS3 with ASP, Coldfusion, and PHP
On page 263 of Adobe Dreamweaver CS3 with ASP, Coldfusion,
and PHP by:Jeffrey Bardzel and Bob Flynn the file called
countryDetailXML.asp is missing. How can I find that file? Any
idea?
Thanks for your help.@citaiz,
That file is created earlier in the lesson in an exercise
starting on page 257. For the sake of the lesson, you can use
countryDetail.xml that is included in the lesson 09 start folder.
It is not important for this lesson that the XML is a static file
or one generated in real time from the database. The version of
Spry (1.4) that shipped with DW CS3 used XML data only. The current
version (1.6.1) can use JSON and HTML tables for the data source as
well. You can get the latest version of Spry for free at
http://labs.adobe.com/technologies/spry/,
including an extension to update your copy of DW to the latest
version.
Bob Flynn -
Adobe Dreamweaver CS3 with ASP coldfusion and PHP search?
I am working through Adobe Dreamweaver CS3 with ASP
coldfusion and PHP with the intent of creating a data base site
that primarily requires a search engine on the index page. The
search page in the book uses specific search criteria ensuring that
there will always be a match to the data base but I need to create
an input text field search engine. My Q, if there is no data within
the data base that match the variable, will it return with an error
requiring an argument in the code to respond to no matching data.
Hopefully there are comprehensive online recourses for these search
engines as they are so common. I am a complete newby to all aspects
of web development and code so it will need to be a thorough
explanation, an idiots guide. ANY HELP GREATLY APPRECIATEDRob,
Let me try to answer your questions, understanding that my
answers are laced with my experience and therefore my bias.
1. For the most part the SQL that you write for Access, MS
SQL or MySQL is going to be the same. I won't make that claim about
Oracle or PostgreSQL because I have limited or no experience in
those areas. To be sure when you head down the road with any DBMS
there are finer points on 'value added' features (to over simplify
things like MS SQL's Transact SQL), but for the most part when you
are pulling out, inserting or deleting records the SQL that you
write will be the same. In fact, I don't think I had to make any of
the SQL in the book different to deal with the back end db.
2. As for your host steering you away from MySQL, I don't
know why that would be. It is MUCH more stable and robust than
Access for web development. My research showed that you can use
MySQL just fine with ASP though that clearly wouldn't be
Microsoft's first choice.
3. A quick aside, the fact that you are building ASP on a Mac
would seem to indicate that you are developing on your production
server. That's never a good idea. Go local if you can. If you have
a newer Intel Mac you can use VM Fusion, Parallels or even Boot
Camp to run Windows in a virtual environment and develop there,
only moving your code to production when you are happy with it.
There is of course the fact that they two environments would not be
identical and you may need to change a few references, but it is
still a better practice than developing on your live site. Some web
hosts give you the ability to set up a subdomain. If yours does,
you could set one up with a duplicate of your site and develop
there.
4. Let me try to pull your 'rant-let' apart into two issue. I
begin with a question. I'm not sure what the Mac part has to do
with it. The primary language I work in at my day job is
ColdFusion. The majority of the most serious developers I know in
the CF world work on Macs. I am forced into the PC world because of
a cultural bias at the business school where I work. Having said
that, the only time I have felt there was ANY difference in the
tools, resources, choices I had was in any way affected by platform
was when Adobe still had not released Flex Builder 2 for the Mac.
Now that is behind us as well. This reaction of mine may be based
on the fact that Access never comes into play in the work that I
do. I regularly work with MS SQL and MySQL. (OK, so SQL Enterprise
Manager, the MS tool of choice to talk to MS SQL is Windows only,
but I only use that at the day job. But even there you can find
cross-platform, free tools like Aqua Data Studio to talk from a Mac
to MS SQL.) If I'm missing your point on the Mac, please let me
know. Since the advent of the Intel Mac I think it is hands-down
the best choice for a web developer. You can have Mac, Windows and
Unix all on one machine. It doesn't get any better (providing you
have the RAM :-)).
As for the security question, it is somewhat analogous to the
war on viruses and spyware. As the defenses get better, so do the
attacks. Most languages have developed functions for vetting user
input variables and best practices for building these things. It is
mainly a user education issue. When I took over the book you are
working out of, the one thing Jeffrey told me it needed was more
security. I did my best to put more in under the constraints of the
publisher. They didn't want the book to be any longer than the
previous version. I did my best to modify the code used to include
"string safe" functions and to add verbiage about the importance of
security. It was clear that I could not add as much as was needed
and I said so in the book. Much more is needed for a serious
treatment of the subject and not acknowledging that would have been
a disservice to the readers. I've been working as a developer for
over a decade and I don't know all there is to know about it. It's
a constantly changing field, just like all of web development. In
fact next week I'm going through a 2-day SANS Web Application
Security workshop in hopes of learning more. So at the risk of
sounding like an industry apologist, I don't think it's a
shortcoming of the development community. It is, as they say, "a
developing situation".
HTH,
Bob
http://bobflynn.info/ -
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David Powers
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and
PHP by David Powers:
Would this book help me learn about Spry and Ajax and how
applications can be made with them, if I my e-commerce site runs on
a compiled C code shopping cart (ShopSite) but supports PHP
server-side scripts or is it only for shopping carts based on PHP
itself (like X-Cart)?
I am not sure. Someone please let me know so I can purchase
this book. Thanks.ahsenabro wrote:
> 1. Do I have to be a developer/programmer in order to
learn from this book or
> can a tech-savvy entrepreneur can also get some gems out
of it and direct his
> programmer?
You don't need any prior knowledge of Ajax or PHP, but you do
need to
know the basics of HTML and CSS. As I say in the
introduction, "You
don't need to be an expert, but you do need to have an
inquiring mind.
It doesn't teach the basics of web design, nor does it
attempt to list
every single feature in Dreamweaver CS3. There are plenty of
other books
to fill that gap. However, by working through this book,
you'll gain an
in-depth knowledge of the most important features of
Dreamweaver."
> 2. I am interested in purchasing this book mainly to
implement cool Ajax/Spry
> stuff on my e-commerce site. I am asking about PHP
because the book's content
> mentions making a PHP site. Now I realize this book is
not about shopping
> carts, but the Ajax/Spry stuff can be implemented on
e-commerce sites, right?
The book provides detailed coverage of the Spry 1.4 features
in
Dreamweaver CS3, which can be applied to any site. With minor
adaptation, you can also use Spry 1.6. It's important to
realize,
though, that the Spry/Ajax features in Dreamweaver CS3 do
*not* cover
asynchronous requests to the server. The ability to
communicate
asynchronously with the server was added in Spry 1.6. If it's
asynchronous server calls and responses that you're after,
your
programmer will need to dig around in the Spry 1.6
documentation on the
Adobe Labs site, and hand-code it.
The Spry features covered in the book are Spry Effects, Spry
UI widgets
(menu, accordion, tabbed panels, and collapsible panels),
Spry
Validation Widgets, and Spry XML Data Sets.
> I just want to know if I can learn and implement
Ajax/Spry apps on my
> simple HTML/CSS-based pages, on a server which allows
server-side PHP scripts
> but the pages themselves are not with .php extension. Is
this book still going
> to be applicable?
Yes. All the Spry techniques can be used on any web page. It
doesn't
need to be a PHP one.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Problème avec partage sur iMovie
Bonjour , j'ai un problème avec iMovie ... je ne sais pas partager mes video (liste de partage vide)
si qlq'1 sait m'aider d'avance merci !I send you the files
Yes, but a) it is far easier for us to help when the pages are posted online and b) I'd hoped you would fix the double-appearance of the id="corps" on the page.
Nevertheless, I did check and have this to offer:
Change this selector simply to:
.pageNumber {
float:right;
And note that on that page there is no id="#mainContent" so this selector is not functioning:
#mainContent p {
position: relative;
font-family: Verdana, Arial, Helvetica, sans-serif;
And note, again, that there is a div with id="corps" as well as a malformed span with that id as well:
<p>Remarque: la lettre P dans mon document fait référence à la page dans le livre. C’est l’édition originale chez Ariane Édition. </p>
<span id="corps"><br />
Simply removed that span tag.
Hope that helps. btw. I tested my edit only in FF (your page was broken in both FF and IE8 for me)
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
How do I create a guestbook in Dreamweaver CS3, Plz Help....
Hi I want to create a guestbook in dreamweaver cs3 my website is www.freewebzs.com
Also it would be brilliant if you guys could help me and recommend me background colours, is there a free website I can get background colours from?
And also what fonts and colours are most popular for websites.
Im new to dreamweaver as ive just started using it so any advice would be great, thanksI have to agree with David, if you are new to DW, then creating a guest book will be difficult for you. However, you don't have to re-invent the wheel, there are many guestbook scripts available to save you the time and certainly the headaches :-)
Take a look here for a selection: http://php.resourceindex.com/Complete_Scripts/Guestbooks/
As for colours kuler is good, but you can also look at;
These palettes may help:
http://www.colourlovers.com/palettes/search?hsv=&sortType=rank&sortBy=asc&query= spring&hex=&lover=&hueOption0=&hueOption1=&hueOption2=&publishedBeginDate=12%2F2 7%2F2004&publishedEndDate=04%2F12%2F2009&x=26&y=17
More colour schemes here:
http://www.colorschemer.com/schemes/
For fonts, you are better staying with web-safe fonts that will ensure cross browser compatibility:
http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
Book: Ultimate CSS Reference
http://www.sitepoint.com/launch/005dfd4/3/133
http://twitter.com/nadiap -
Design view in DreamWeaver CS3 disabled for CSS & Java
I currently use Adobe Dreamweaver CS3, and only some files have the option to view them in code AND in design view. This works for most files (HTML, PHP, etc). However, anytime I create a new CSS or Java file, the design view is disabled:
I have already tried the two other solutions I've found in this forum.
First I tried Preferences > File Types / Editors, and I deleted all of the file types in the "Open in Code View" menu (pictured below).
I restarted DW, and it didn't work.
Then I tried several steps to re-create the Configuration folder (which it did, but the problem remained) listed here: http://kb2.adobe.com/cps/401/kb401118.html.
Still nothing. HTML, PHP, ASP and all other files have the Design View and Split View available, but CSS and Java do not. I would really like to use DW to start editing CSS, but do not know it well enough to write in code and therefore could really use that handy Design View so I can learn as I tweak it.
Any help much appreciated - thanks!HTML, PHP, ASP and all other files have the Design View and Split View available, but CSS and Java do not.
That's correct. That's as it should be.
A CSS file contains a bunch of text only CSS rules. Javascript is text-only script. There's no layout to see for CSS and JS files in Design and Split View so they're disabled.
Files with layout e.g. .htm, .php have Design View because they're web pages with a layout which can be viewed.
I would really like to use DW to start editing CSS, but do not know it well enough to write in code and therefore could really use that handy Design View so I can learn as I tweak it.
Open any .htm or .php (or other) web page and its associated CSS file.
Then tweak the CSS either via Code View in the CSS file, or using the DW CSS Editor when viewing the .htm/.php file, and see the formatting changes applied in Design View in the .htm (or .php) file.
Do not rely on DW's Design View as an absolute reference for pixel perfect accuracy. It will always be an approximation only to assist visually oriented web designers while editing.
Always test all CSS rules and edits in a range of browsers. Browser support for CSS rules and effects varies. Not all browsers support everything on offer in CSS1, CSS2 and CSS3. -
Code view not in synch with Design view (Dreamweaver CS3)
Hello All,
On my main work PC, I am running Dreamweaver CS3. When I am
working in split view (with both Design and Code view visible) when
I click on an element (say, a button) in Design view, the code view
automatically shows me the code for the element that I am working
on. That way, if I need to manually edit the code, I can click on
the Code view and make the appropriate changes.
On my laptop I am also running Dreamweaver CS3 However, when
I am working in split view and I click on a element in Design view,
my code view does NOT update itself and continues to show the last
bit of code I was working on in Code view. While this could come in
handy at times where i want design view and code view to show me
two different things, I mostly would like code view to update
automatically. Currently the only way I can get code view to update
on my laptop is to hit the "refresh design view (F5)" button. Is
there a way to do this automatically? Is this an option in
Dreamweaver preferences because I don't see it anywhere.
Thanks so much for your help.Ethereal_Mike wrote:
> Does the new version of Dreamweaver CS3 print the code
in color?
No. If you feel that it's an important enhancement that you
would like
to see in future versions, submit a feature request:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
The more people who request a specific feature, the more
likely it is to
be implemented.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Hi,
I am new to this forum but I really need some help.
I am trying to link some mp3s onto my website using Dreamweaver CS3. I have tried two options:
Using a Flash button
For example: <a href="../music/track.mp3">Services</a>
Both instances do play the mp3 but they both open in a new window. They both open Windows Media Player.
Is there anyway I can press the play button without opening a new windows? I just want to be able to stop, play, pause, etc. just from that button.
Didn't consider embedding the files because I'll have a number of them a page.
Any help?Thanks a million.
Date: Tue, 9 Mar 2010 11:40:18 -0700
From: [email protected]
To: [email protected]
Subject: Adding MP3 in Dreamweaver CS3
Get Wimpy MP3 Player. A single, Flash based, streaming media player can handle all your audio files from a playlist. Easy to set-up, dirt simple to add or remove media files later.
http://www.wimpyplayer.com/affiliates/idevaffiliate.php?id=836
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com
>
Maybe you are looking for
-
How to connect iPad to the tv via HDMI cable
we have a HDMI cable and an adapter for the iPad but it still won't connect, it isn't the cable or the tv as it works with other devices
-
Re: Warning about taglib in NitroX for Struts 2.0
This is because NitroX 2.0 is smarter about JSP 2.0 and servlet 2.4. In the web.xml version 2.4 the taglib tags should be nested inside a <jsp-config> tag. Actually, the next NitroX build will report an error about this. M7 Support "Paul K. Courtney"
-
Getting error when trying to activate BW Stats
Hi, We are getting this error: Log not found (in main memory) Message no. BL207 This happens when we go into Tools --> BW Statistics for InfoPrividers. and then select all the check boxes (or even 1) and try to OK it. Has anyone seen this error? or k
-
I recently updated to mountain lion and many of my most used programs won't work.... pandora itunes hulu any vidoes.... says pop up blocked somehow I can't change any of my security preferences SUPER FRUSTRATING
-
Hi Gurus While posting vendor invoice in MIRO for blanket PO, Iam getting the error Busines Place Mandarotory. How to resolve this issue? Thanks in advance