Questions tagged as 'linux'

1
answer

My jquery cdn is not working in linux Mint

Currently I have two cdn in my code that would be the following: <script src="http://code.jquery.com/jquery-1.12.0.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></sc...
asked by 30.05.2017 / 03:50
2
answers

How can I run my local server with a specific path with PHP?

I have a problem with my local server. I am using Apache and in turn, I am virtualizing to obtain, for example: milocal.com The problem is that I need to have it this way: milocal.com/proyecto and then through code I add anot...
asked by 09.03.2017 / 06:45
1
answer

Connect PHP linux to a database hosted on the windows (DB POSTGRESQL)?

I'm doing a project php in windows with a database engine POSTGRESQL , to test the correct operation I had to pass the project to linux (virutalbox~ubuntu) the problem is that I do not know how to connect to the databa...
asked by 22.02.2017 / 14:37
1
answer

Error with SQLite with C # - MonoDevelop (Ubuntu) [closed]

I'm starting to program in C # and using SQLite. The problem I have is that when trying to access a table an error occurs: The connection to the database is made, but the table is not found (it really exists)     
asked by 17.02.2017 / 19:30
1
answer

Open a file from another directory with C ++ in GNU / Linux

My intention is to select a text file from the text / directory, but when I select it, I get the error. ifstream Archivo; system("clear"); cout << "Elige el archivo que quieres leer" << endl; system("cd texto/ && ls --col...
asked by 13.12.2016 / 05:01
1
answer

Problem with the ZipArchive class in php

My question is that I am compressing more than two files in .ZIP format from a server. When doing local tests in Windows it works without problems, when running it on Linux or Mac systems locally or even on a server, an error occu...
asked by 07.12.2016 / 19:20
1
answer

Problem installing a django project with virtualenv in debian

I have a problem, I already installed the virtual environment and I already installed with pip django, only that there is a problem when creating the project structure, the following appears: (venv)padawan@debian:~/Documents/Git/landing-page$...
asked by 07.12.2016 / 00:49
2
answers

Language C on Linux: chdir returns value -1 always

The following function receives an array of strings ( **args ) and, specifically, args[1] would contain the path when executing the line. This function is part of a program that has a method to read a line from the terminal and a...
asked by 16.11.2016 / 23:51
1
answer

Access to files through PHP with an alias to the directory in the apache

I have two domains that share a directory (example: / img) so as not to duplicate that directory I have created an alias with the apache: Alias / img /dominio_1.com/img/ .... from the browser I access the img directory without problems...
asked by 20.10.2016 / 11:04
1
answer

htaccess does not work with Virtual host with Xampp

I have an error with the local server, it does not work with the .htaccess friendly urls, before I used mamp pro and did not ask for anything, now in ubuntu 16.04 I have mounted a server with XAMPP, for the friendly urls I had to mount VirtualHo...
asked by 02.09.2016 / 03:02