close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How to create a unique image file name containing umlauts or accents on upload?

Thread began 6/12/2015 12:04 pm by administration282761 | Last modified 6/19/2015 5:14 am by administration282761 | 1158 views | 8 replies

administration282761

Greetings again and thanks for your input.

However, as before, I am still not able to write the name of the file into the DB. I get a "blank" entry.

When I click on the File Manipulation SB Interface - I get the following error message.
"It appears that one of your server-side values is improperly coded. Please click this interface for inconsistencies."

Attached is the second page screen of the wizard.

Here is my code:


<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$InsertQuery = new WA_MySQLi_Query($mysqli2);
$InsertQuery->Action = "insert";
$InsertQuery->Table = "agenda_exhibition";
$InsertQuery->bindColumn("address_id", "i", "".((isset($_POST["address_id"]))?$_POST["address_id"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_image", "s", "".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_title", "s", "".((isset($_POST["exhibition_title"]))?$_POST["exhibition_title"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_url", "s", "".((isset($_POST["exhibition_url"]))?$_POST["exhibition_url"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_lead", "s", "".((isset($_POST["exhibition_lead"]))?$_POST["exhibition_lead"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_init", "t", "".((isset($_POST["exhibition_init"]))?$_POST["exhibition_init"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("exhibition_exp", "t", "".((isset($_POST["exhibition_end"]))?$_POST["exhibition_end"]:"") ."", "WA_DEFAULT");
$InsertQuery->saveInSession("");
$InsertQuery->execute();
$InsertGoTo = "agenda_admin.php";
if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):"";
$InsertQuery->redirect($InsertGoTo);
}
?>

---

<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../../exhibitions/",
'FileName' => "". session_id() ."",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "205",
'ResizeHeight' => "",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult1", "exhibition_image", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);
}
?>

----

Should I open a server ticket to troubleshoot this?

Best regards

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...