I'm having a problem with my python installation. The packages that came with the installation work just fine but when I try to use other installed packages I run into problems. For example, I installed a package `pymsgbox` using pip from an admin shell. When I run a sample script from the command line as in `sample`, I get ModuleNotFoundError: No module named 'pymsgbox' but when I run it by `python sample.py` it works fine. Likewise if I load it into IDLE and run it from there. Suggestions?

Member Avatar
Member Avatar
+0 forum 8

hello all I am a beginner... I want to move a wordpress site from a local computer to live server... live server: plesk parallels I followed some tutorials and it says: you must create a new mySql database on server... ok I went to parallels plesk panel and I created it... created some user ... and now I click on webadmin button (I guess that is how I go to phpmyadmin) and I get error message: > Welcome to phpMyAdmin > You probably did not create a configuration file. You might want to use the setup script to create one. …

Member Avatar
Member Avatar
+0 forum 7

Hi! Got errors on site... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/header.php on line 30 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/index.php on line 16 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/footer.php on line 4 From phpmysql... Error There seems to be an error in your SQL query. The MySQL server error output below, if …

Member Avatar
Member Avatar
+0 forum 16

Hi all i am working on asp.net web based application in this application i have to configure one setting from `web.config` file which is path of folder and i want to create that folser on the working directory of project so any body Please tell me can i use `Environment.CurrentDirectory` if yes then how and if no then Please provide me any convinient way to achive this task

Member Avatar
Member Avatar
+0 forum 3

Hello, I am trying to access my website after having recently shifted hosting servers. When I try to access it I get the following error: > HTTP Error 500.19 - Internal Server Error > The requested page cannot be accessed because the related configuration data for the page is invalid. Here are the details of the error: > Error Code 0x8007000d > Config Error Configuration file is not well-formed XML The error page tells me that the error is because of this line of my web.config file. Here goes: > <add key="strCon" value="data source=123.45.678.90; initial catalog=dbname;persist security info=False;user id=username; password=password; …

Member Avatar
Member Avatar
+0 forum 2

I recently download CKEditor for my web application. I want to add copy data from word file and paste on ckeditor, when i am doing this i found that all styling is gone but i want to preserve styling as it is on orignal word file. So i did little search on web and i find that it is possible by changing the value of Change the value of config.pasteFromWordRemoveFontStyles to false. but i dont find where i can change the it. So help me to find where i can change this Change the value of config.pasteFromWordRemoveFontStyles to false. here …

Member Avatar
Member Avatar
+0 forum 1

In a nutshell i have a java program that takes parameters from an XML file. I made a .jar file from my java project. Within the java project i have the XML file set to a static directory, i'd like to be able to change that so the jar would look for the XML within the directory it's in. Is there any solution to this? Don't really want to use a file chooser either. Thanks

Member Avatar
Member Avatar
+0 forum 8

Hello, I'm doing a simple J2EE application that will interact with a database like Oracle and you know that a database can have multiple oracle schemas and that is the problem (because I do not know how to configure hibernat with multiple schemas :( because my application can handle multiple schemas . ​​is there a way to make the configuration file hibernat dynamic and can control it with jsp page . if any of you can help me I will be very grateful and thanks in advance good day, Sincerely,

Member Avatar
Member Avatar
+0 forum 2

hello ! i want to make a xml file to store my Settings such as server name , user name , and password , etc , i try to search how to read and write xml file i found this code for writing an xml file it works fine for me [CODE] private void XMLWrite() { FileStream fs = new FileStream("c:\\Server.xml", FileMode.Create); XmlWriter w = XmlWriter.Create(fs); w.WriteStartDocument(); w.WriteStartElement("Configuration"); // Write a product. w.WriteStartElement("Parameters"); w.WriteAttributeString("servername", txtservername .Text ); w.WriteElementString("username", txtusername.Text ); w.WriteElementString("password",txtpassword.Text ); w.WriteEndElement(); w.WriteEndDocument(); w.Flush(); fs.Close(); } [/CODE] now i have a prob , and prob is that ,i want …

Member Avatar
Member Avatar
+0 forum 6

hi, i'm working on this new system which give the option for the user to choose which system method his/her system will work on, eg: file system or database system. when installing the system they can choose the option file or database, assume that user chosed db system, later on the user can again change into databse system, is it ok to give an option like that to change when ever the userr prefers, and how can the system recognize which system its running on file or db? i thought of writing it into config file, but the that file …

Member Avatar
Member Avatar
+0 forum 7

Hello all, I'm writing a small "robot" application that has to process a list of sequentially numbered MDB files. This has to be done between different executions, ie: today I process files 1,2 and 3. Tomorrow I might process 4 and 5. It's totally random, but sequential. My question is this: how can I keep track of the files? They are named thus: TFXXXX.mdb where XXXX is their number. My first approach was to save a "counter" variable in the appSettings field in the config file but when I update the correct field, the changes are not applied to the …

Member Avatar
Member Avatar
+0 forum 3

Problem when i am using $webRoot / $srvRoot as a value for a variable or in defining a constant Code & problem is below: [CODE]<?php ini_set('display_errors', 'On'); error_reporting(E_ALL); $thisFile = str_replace('\','/', __FILE__); $docRoot = $_SERVER['DOCUMENT_ROOT']; $webRoot = str_replace(array($docRoot, 'testing.php'), '', $thisFile); $srvRoot = str_replace('testing.php', '', $thisFile); define('WEB_ROOT', $webRoot); //error on this line Variable Undefined define('SRV_ROOT', $srvRoot); //error on this line Variable Undefined echo 'thisFile- '.$thisFile ;//works perfect echo "<br>"; echo 'docRoot- '.$docRoot;//works perfect echo "<br>"; echo 'webroot- '.$webRoot ;//works perfect echo "<br>"; echo 'srvroot- '.$srvRoot ;//works perfect ?>[/CODE] what is it that i am doing wrong? Pls help me!

Member Avatar
Member Avatar
+0 forum 2

hello, I am new to php and apache..any help is appreciated. I am designing a music website..I am designed the music player with flash.I have xml file like this where my flash player play the songs from the url..I have a folder named songs. <song> <track>Princess Song</track> <artist>Artist Two</artist> <url>songs/princess.mp3</url> </song> My document root folder is public_html(web accessible directory) I have to restrict the download of my songs direct from http and have to prevent to downloading the songs. if i move the songs folder outside the public_html folder,.for example /root/songs <song> <track>Princess Song</track> <artist>Artist Two</artist> <url>/root/songs /princess.mp3</url> </song> whether …

Member Avatar
Member Avatar
+0 forum 4

Hello, I have just started with ASP, I knew that IIS cannot be installed on Windows xp Home, so I installed Abyss, but it's quite different from wamp,xamp that I was using before with php. Can someone help me run ASP on it? I have followed the tutorial in this link: [url]http://www.mono-project.com/FastCGI_Abyss[/url] But I keep getting an error whenever I try to add an interpreter I get this error: "Error in Interpreter: File not found" I have attached a screen shot. How can I solve the problem? I might post for other questions if I face other problems. Thanks.

Member Avatar
Member Avatar
+0 forum 1

The End.