dompdf version: 1.2.1
PhP: 7.4
charset: utf-8
platform: Wordpress
If a url contain an ASCII code such as "%3D%3D", when I click on the link in the PDF it returns "==", generating a broken link
Example:
www.website.com/abc%3D%3D/ becomes www.website.com/abc==/
Any suggestions on how to solve this issue?
Related
I'm not a ruby expert here, and I'm new to jekyll just trying to get the livereload plugin to work on a blank theme.
plugin: https://github.com/RobertDeRose/jekyll-livereload
I setup jeckyll with a blank theme with jekyll new theme --blank When I run jekyll serve, I can see LiveReload Server: http://127.0.0.1:35729 output in terminal so I guess it should be working, but the browser reloading doesn't work. However it does work if I use the default theme.
When using the default theme, there's an extra message: LiveReload: Browser connectedwhen I run jekyll serve. That message doesn't appear with blank theme.
Is there something I'm missing here?
I know this is old, but I was facing the same issue, so I thought I'd share the solution that worked for me.
You just need to add front matter to the top of your html file, that's two triple-dashed lines, so your html file should look like this:
---
---
<!DOCTYPE html>
<html lang="en">
I am Using DomPDF for developing pdf in Codegniter GIving Error
require_once(): Failed opening required 'C:/xampp/htdocs/manisha/application/helpers/dompdf/lib/php-font-lib/classes/Font.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\manisha\application\helpers\dompdf\dompdf_config.inc.php on line 332
It seems your include fails. Please check the file permissions and if the "Font.php" file is actually at:
C:/xampp/htdocs/manisha/application/helpers/dompdf/lib/php-font-lib/classes/Font.php
Also, check if it works when you change "require_once()" into "require()", if so, you probably trying to include that file multiple times.
Installed Laravel 4.1.30 (because I can't use 4.2 on a RHEL5 server - no PHP 5.4), all seemed to go OK, but noticed the sequence "[B" showing up when a user is logged into my test application.
I even see that just getting the Laravel version:
./artisan --version
[BLaravel Framework version 4.1.30
On v4.2, I'm not seeing that.
./artisan --version
Laravel Framework version 4.2.6
I cannot upgrade the version of Laravel on the server because of no PHP5.4 support (the server isn't mine). Any idea what is causing the stray "[B"? It's an issue because as I mentioned, it also shows up in my application.
e.g.
Section from a blade view:
#section('content')
(here1)
#if(Auth::check())
(auth)
#else
(not-auth)
#endif
(here2)
Displays this on the site:
(here1) [B (auth) (here2)
I had this issue at one point as well where I would get a "/" whenever I ran artisan commands etc.. it turned out I had a / before one of my opening <?php tags that I missed. /<?php. Just do a quick search/replace on the [B string in your project and hopefully you can locate the offending file.
I have a rails 4 app that use CKeditor. In dev mode it works fine but in production ckeditor does not apear and there is a blank space at the location of the textarea.
According to the logs, the following file is missing :
ActionController::RoutingError (No route matches [GET] "/assets/ckeditor/styles.js")
And if i precompile the asset i can see the following file generated :
public/assets/ckeditor/styles-65fee53acf063b3d207bc00b4f7ce0d5.js
Here is the ckeditor line of my application.rb :
config.assets.precompile += Ckeditor.assets
It seems that's the file CKeditor want but it is not looking for the precompiled one. How can i fix that?
i have pre-compiled my assets and pushed my repo to production server and got similar bug. And ckeditor was not loading.
Following worked for me:
1) Under config > environment > productio.rb file there is a line
config.assets.compile = false
i changed false to true and pushed the code to production site. Stopped and started unicorn. That did the trick now ckeditor is loading.
hope that helps.
For Rails 5 you have use in Gemfile
gem 'ckeditor', github: 'galetahub/ckeditor'
look here:
https://github.com/galetahub/ckeditor/issues/719
Did you follow these steps in the Readme? https://github.com/galetahub/ckeditor#usage-with-rails-4-assets
Specifying the CKEditor BasePath in the <head> section of my application.html.erb file fixed my issue
<script type="text/javascript">
var CKEDITOR_BASEPATH = '/assets/ckeditor/';
</script>
I had the same problem, i had included config.assets.compile = true and didnĀ“t work...
Finally i did rake
rake assets:precompile
from the console.
If you are uploading images directly to AWS S3 you need to comment out the carrierwave or paperclip initializer while precompiling.
Then pushed it to production and worked fine!
I have upgraded my Magento version from 1.4.0.1 to 1.7.0.2.
Now I tried to upload a theme package using upload package file in Magento Connect Manager. It shows an error 'No file was uploaded'.
Please get me a solution.
Try using the Version 2.0 from the dropdown on the extensionpage on magento-connect, that should work.
The No file was uploaded error is return when:
The form key is invalid
$_FILES doesn't exist
$_FILES['file'] is empty
I had the same issue and managed to fix it by commenting out the rewrite instructions in my main .htaccess file in Magento's root folder. Don't forget to add those instructions back after you finished installing your module.
I suggest you keep a .htaccess.magento-connect file for when you want to use Magento Connect along with your regular .htaccess file, and switch between the two.