Zend/PHP: Problem uploading/downloading file to/from MySQL's BLOB field

I am uploading file(pdf for now) like this: (It is uploading content of file in blob field of mysql) $organizationModel = new Model_Organization_Object( organizationId ); $myFile =...

mod_rewrite seemingly broken with latest httpd upgrade

At our office, our security team has been running yum updates on our rhel5 servers. One of the affected packages is the httpd package. Before the update, we were successfully able to utilize...

Joomla 301 htaccess redirects not working

i'm adding 301 redirects to a joomla sites htaccess file. but any of these redirects seems not working, i tried a lot by changes urls, etc but no luck, here is my htaccess file. ## Can be...

Image printing with Zebra printer using escpos

I am working on an application in which I need to develop functionality for image printing on zebra printers. The printer we are using is Zebra EM220II printer. Problem we are facing: Currently...

When I change AllowOverride to All in httpd.conf apache will no longer parse php

I'm trying to get Apache to honor my .htaccess files in my site directories, so I changed AllowOverride to all in httpd.conf. However after I changed it to All, apache stopped parsing my PHP and...

curl and file_get_contents both cannot find server by domain name set in hosts file

On both the PHP server and the client I have in /etc/hosts: 192.168.1.111 my-fake-domain-name.com The PHP server is that box (192.168.1.111). But when I use curl or file_get_contents to get...

Unable to view ganglia dashboard

I have made ganglia setup using rpm files, OS: centOS 6.3 Server; httpd gmond and gmetad are running, when i load it in browser am getting "Forbidden error" Forbidden You don't have permission...

XSL-FO fails to add font in java

I am trying to use the font "Frankling Gothic Medium" in my pdf generation. But I seem not to be able to get it into java/FOP factory. I've tried without setting autoconfig. But Right now my...

Apache uses one of the virtual hosts as the default

I am using Apache with configured virtual hosts. As long as I am calling the existing virtual hosts, everything works fine. When I call the server either with plain IP address or with a URL that...

CentOS Apache2 -- All files forbidden

This might be a bad place to post this, and I know sooooo many people have asked about it, but I've looked a lot of different places and I just can't figure it out. Please look at my below...

apache http server cannot resolve ip address but resolves localhost

I have the local ip address of 172.31.101.202. I installed apache http server on my machine and put the website in /var/www/html/website....Now when I access my webpages using localhost/website...

Apache httpd.conf configuration. Permission issue

I have written htaccess rules for rewrites. I am fairly sure that the rules are correct. For this I also made changes to httpd.conf to 'allow all' but when I try to access from browser I get this...

apache mod_expire does not work

I have configured Apache mod_expire as described below, but it did not work. I added in .htaccess file this block: ExpiresActive On ExpiresDefault A900 ExpiresByType text/html A1800 ...

Does anyone have example numpy.fftn code that correctly implements multivariate_normal pdf?

With the code below, I'm attempting to implement the Levy-Khintchine formula (https://en.wikipedia.org/wiki/L%C3%A9vy_process#L.C3.A9vy.E2.80.93Khintchine_representation). In the limit of no...

Centos httpd using 7.5GB of memory

I'm having an issue that i trouble to figure out the cause. I have a Centos VPS with Vesta CP that host couple of domains. My issue is that it stops almost all services after few minutes and i...

Rails 4, ActionMailer & Wicked PDF

Controller method def email_pdf @job = Job.find_by_id(params[:id].to_i) job_pdf = WickedPdf.new.pdf_from_string(render_to_string(:pdf => 'job', :template => 'job/show.pdf.erb', layout:...

Google sheets upload to bigquery: Bad character

My apps script is modified from https://developers.google.com/apps-script/advanced/bigquery. I keep getting errors like so: File: 0 / Line:6 / Field:1, Bad character (ASCII 0) encountered: field...

mPDF error on Codeigniter

I tried to convert a html page to pdf and was decided to use mPDF, I follow what the documentation does. When running the code, it does not prompt out the PDF to ask for save. Btw I get those...

Problems getting Django project to run in mod_wsgi

I am having some issues getting a django project of mine to be properly served via mod_wsgi. This is the first time I have tried something like this so please forgive any noob mistakes. The error...

Using TCPDF with Symfony garbles the output, unless I place $pdf within the controller

Is it not possible to generate a PDF using TCPDF while placing the HTML within the template view? Example: details.html.pdf: <?php $html = ' //all the stuff i want to appear on the pdf '; ...

Convert base 64 file to text or pdf file in r

I am using R, version 3.3.2.. I have downloaded base64 file from API. Here is output (base64) file (all file have 27 pages so I put just liitle part of...

hi, is there a way to get pdf document thru apollo2angular and graphql?

following is the response info: "%PDF-1.4\n%����\n2 0 obj\n<</Filter/FlateDecode/Length...

No author details in pdf, from R-Markdown / LaTeX template

I'm trying to create an R-Markdown template based on the BioMed Central LaTeX template (bmc-article.tex). The bmc template files are available for download here and needless to say, they work just...

make errors while installing Open Semantic Framework v1.0

I am up to step 5 of the StructWSF Installation Guide (part of the Open Semantic Framework), and trying to install Virtuoso 6.1.6. The ./configure step is OK, but when running sudo make, and sudo...

Can't show custom post type in DK PDF converter

I am working on a page with wordpress, I installed the plugin called DK PDF, which converts the page to a PDF so a visitor can download or print the page. The problem we have is that we can't...

Yii2 ~ How do you setup Mpdf?

after installing Mpdf via composer. and reading the documentation over and over agian, I still don't understand how to use Mpdf... could someone please tell me how this extention is used? maybe...

Extract Font Name from PDF

I am using pdf.js to extract text from the pdf but the font name appears as g_d0_f6 etc. I need the font name to use the appropriate table for converting to Unicode. Here is the code derived from...

Python: Alternative to `.replace('null', '""')` to replace null and None values with string in nested JSON

This is a follow up to this stackoverflow question https://stackoverflow.com/questions/41710262/python-replace-none-values-in-nested-json which gives this solution to replace all None and null...

How to add customs value in python-fedex for international shipments?

I'm using the python-fedex module as a light wrapper for the FedEx SOAP API. As part of this, I'm trying to set up a basic example of an international shipment, but I'm getting stuck with the...

While restarting apache getting erroe

Hello team while starting my apache getting error mentioning my htttpd.conf file and error snipet This is my httpd.conf file:- # ServerRoot "/ebiz/apache/httpd" ServerRoot "/ebiz/apache" # #...

Relevant tags