Programming :: Php Didn't Reload - Cache?

Jul 27, 2010

I make personal site with php on wamp. When uploaded it to my debian box I make some comments in index.php like

Code:
//include(realpath('inc/inc.php'));
echo realpath('inc/inc.php');

upload the changed php file, but when try to reload the site same errors stay there. There is some cache that I have to clear but I don't know where it is. In wamp I clear wamp mp* directory What cache I have to clear? Edit: It is not my browser. I use firefox and clear everything with several times ctrl+shift+del I even delete index.php but the same errors stay at the page:

Code:
Warning: include(inc/inc.php) [function.include]: failed to open stream: No such file or directory in /var/www/site/index.php on line 3 Warning: include() [function.include]: Failed opening 'inc/inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/site/index.php on line 3

View 1 Replies


ADVERTISEMENT

Server :: When Rndc Reload Or /etc/init.d/bind9 Reload Got This: Rndc: Connection To Remote Host Closed?

Nov 30, 2010

We have ubuntu server and bind9 installed and setup.When I issue rndc reload or /etc/init.d/bind9 reload I got this:rndc: connection to remote host closedThis may indicate that* the remote server is using an older version of the command protocol,* this host is not authorized to connect,* the clocks are not syncronized, or* the key is invalid.If I issue named-checkconf /etc/bind/named.conf I got this:/etc/bind/named.conf.local:165: unknown key 'rndc-key'I got the key files in the right location but I'm not sure if we even need to use them.

View 2 Replies View Related

Programming :: Script Didn't Run In Cron ?

Sep 24, 2010

I have a script put in cron.daily and edit the var/spool/cron/crontabs/root file with this text

Code:

View 1 Replies View Related

Programming :: Tell If Grep Didn't Return Anything?

Mar 15, 2011

I have a file:

979798707
787862348
766428634

I want to see if all the records in the file are present in the contents of the files of a particular directory.

Basically I want to say if grep doesn't return anything, then report.

For example in /tmp dir I have 4 files and flast 2 values (787862348 and 766428634) are present in the files of /tmp dir, but first one (979798707) is not. I want to echo that in a reporting file.

something like:

while read line
do
# if ! grep -rl $line /tmp
echo $line >> are_not_present
done < "myFile"

How do I achieve " if ! grep -rl $line /tmp"? That is, if the line is found by grep, then grep will print the output, but if grep does'nt find it, it will print nothing. How can I check if grep didn't find it (i.e. printed nothing)?

View 2 Replies View Related

Programming :: One-liner With && And || Didn't Work

Feb 9, 2011

I recently noticed some of my one-liners with && and || didn't work as I expected so I googled for "bash && || pitfalls" and found this page [URL] It's probably my fault, but I still don't understand why it wouldn't work as I want it..... I don't even have the code anymore that wasn't working properly because I rewrote it using if ; then ; command ; fi

View 4 Replies View Related

Programming :: Didn't Change The Original Value Of The Pointer It Was Trying To Use For Allocation?

Feb 8, 2011

A friend working in HPC environments commented me that he had an issue regarding the use of the malloc() function.What issue?He told me that he has had cases in where malloc() instead of returning a NULL pointer on failure, simply didn't change the original value of the pointer it was trying to use for allocation, thus forcing him to initialize pointers to be allocated with malloc() to NULL, so that he could be sure that if malloc() fails, a test for NULL would make sense.

View 12 Replies View Related

Fedora :: Error: Caching Enabled But No Local Cache Of //var/cache/yum/updates-newkey

Sep 24, 2009

I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?

Quote:

Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey

I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.

View 12 Replies View Related

Software :: Redirecting APT Cache - Can Redirect Cache Of Apt To A Specified Folder Either On Command Line Or Via A Config Setting?

Jan 5, 2011

I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.

Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).

I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?

View 2 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

Programming :: Clearing Cache - Reading Data Upon Investigation

Apr 9, 2009

I have been saving an XML file wherein I shall be reading data, if and only if the XML is present on Hard Drive. If same is not present, the code shall generate first and next time it shall simply read and not jump into writing part again and again. The issue that I am facing is, I am deleting the file manually going to that location, and checking whether it is reading the data, upon investigation, I found that it is really reading the data although the file is deleted.

I suspected that there may be some cache issue from where it is picking values, hence it fired the command
"sync; echo 3 > /proc/sys/vm/drop_caches"
But it is still doing the same pattern.

View 2 Replies View Related

Programming :: Iterating Through All Listed Keys In An IPC::Cache Object?

Jul 27, 2011

I need to find a way to iterate through all listed keys in an IPC::Cache object. There doesn't seem to be an example of this I can find.

View 1 Replies View Related

General :: Difference Between Hardware Cache And Slab Cache?

Nov 22, 2010

I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?

View 2 Replies View Related

Ubuntu :: Kept Getting "gtk-update-icon-cache: The Generated Cache Was Invalid" Fault

Feb 17, 2010

i was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.

View 4 Replies View Related

Programming :: SHM Memory Counted As Cache Memory With Kernel 2.6.18?

Aug 25, 2010

Is that possible that SHM shared memory is counted as cache memory on Linux with kernel 2.6.18?If find it really odd since this memory is not file backed, but I have a piece of code that loads data using shm_open+mmap, and it generates an amount of cache memory in /proc/meminfo that corresponds exactly to the amount of shared memory (I load that data from a file but I am using posix_fadvise(fd,0,0,POSIX_FADV_DONTNEED) to ensure this file is not cached and I made sure that it is working as expected). As far as I know SHM memory was not tagged as cache memory with kernel 2.6.9.If it is the case it is really unfortunate since normally cache memory can be considered to be part of the "available" memory since it can be flushed promptly but this is clearly not the case with SHM memory... Is there an easy way to get the total amount of used SHM memory on a system?

View 4 Replies View Related

Fedora :: How To Automate Eog Reload

Dec 5, 2010

eog notices when a PNG file changes, and offers to reload it.But it does not reload until I move the mouse over to the monitor where I stuck eog, and click ReloadHow can I make eog just reload automatically without asking -- the way evince does, for PDFs?

View 1 Replies View Related

Ubuntu :: 10.04 Will Not Reload After Suspend

Sep 13, 2010

I've just installed 10.04 in dual boot with xp, completed all updates and tried to suspend. My swap partition is the right size and I don't recall doing anything wrong yet when I wake up the computer after suspending it, the monitor doesn't reactivate and I've had to force it to shut down. And also, now it tells me "networking disabled".

View 2 Replies View Related

Fedora :: Reload Partition Without Reboot?

Jul 13, 2010

I make partition on fedora-12, after that it gives me warning

kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot.

Is it possible to reload partition without reboot, i tried partprobe as well but no luck.

View 1 Replies View Related

Red Hat / Fedora :: Php Exec(); Can't Reload Httpd?

Apr 4, 2010

When I try to reload httpd service through commandline interface directly, it works. But when I tried to reload service of named and httpd using php exec(), it doesn't works.service named reloadservice httpd reloadThe service named is OK but httpd got problem.My OS is CentOS 5.4 .

My script:
echo exec("service named reload"); result is " Reloading named: [OK] "
but

[code]....

View 3 Replies View Related

Debian :: Still Can't Reload Network Interfaces?

Mar 24, 2011

So I've always asked this in the past when I get on a Debian system. This makes no sense to me but I just don't see how I restart network interfaces (i.e. eth0) on a standard Debian install. If I change the static I.P. address listed in /etc/network/interfaces from x.x.x.100 to x.x.x.101, I then assume I can simply do any of the following:

- /etc/init.d/networking stop | start
- ifdown eth0
- ifup eth0
- service networking stop
- service networking start

All the commands above do nothing. My only solution I know that works and implements the changes I've made is a complete system reboot which to me in Linux, is ridiculous. I've struggled with this over and over and nothing I do correctly assigns the new I.P. in the 'interfaces' file to the actual adapter. This isn't my single isolated Debian machine but every Debian machine I can get my hands on. Servers, workstations, VM's, any release, etc etc etc. Below is my interfaces configuration file:

Code:
auto lo
iface lo inet loopback

[code]...

View 5 Replies View Related

Networking :: How To Reload The Routing Table

Apr 5, 2010

After making an changes (add/modify/delete) to /etc/static.routes, what command should we use to reload the routing table?

View 5 Replies View Related

OpenSUSE :: Reload Default Gnome3 Desktop?

Jun 23, 2011

I was playing with a theme (Atolm-GS) and followed the install instructions which stated to back up the /usr/share/gnome-shell/theme directory, and replace it with the one from the theme. I did this, logged off, logged on, got my wallpaper for a second, then the Oh No Screen. I logged off, logged in to IceWM, replaced the theme folder with the original, logged back in to Gnome3 and same thing. Alt+F4 does not get rid of the OH No screen. My ~/.xsessions-errors file contains the following:

/etc/X11/xim: Checking whether an input method should be started. sourcing /etc/sysconfig/language to get the value of INPUT_METHOD INPUT_METHOD is not set or empty (no user selected input method). Trying to start a default input method for the locale en_US.UTF-8. There is no default input method for the current locale. Dummy input method "none" (do not use any fancy input method by default)

[Code]...

View 4 Replies View Related

General :: Tell GEDIT To Reload Currently Opened File?

Jul 29, 2010

I am using GEDIT and I would like to have a shortcut key that allows me to tell GEDIT (on Ubuntu) to force reloading from file system the currently opened file.

How can I do that?

View 3 Replies View Related

Ubuntu :: Way To Load Synaptics And Reload Desktop Somehow?

Jan 16, 2010

I had finally go tmy netbook set up the way i wanted it, everything was working great. The notification popups were annoying me so i was trying to disable them. I used this string in a terminal: sudo mv /usr/ share /dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus1/services/org.freedesktop.Notifications. service.disabled

After rebooting i had nothing but a taskbar.No icons, no panels, nothing but wallpaper and the taskbar. I can't even figure out how to open up a terminal.Hopefully there is a way to load synaptics and reload the desktop somehow?

View 8 Replies View Related

Ubuntu :: Cannot Reload Synaptic Package Manager?

Mar 12, 2010

Try reloading my synaptic Package manager and I get the following message after a while:-

An error occured
the following details are provided
W: Failed to fetch http://ke.archive.ubuntu.com/ubuntu/...ic/Release.gpg Could not resolve 'ke.archive.ubuntu.com'
W: Failed to fetch http://ke.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'ke.archive.ubuntu.com'
W: Failed to fetch http://ke.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'ke.archive.ubuntu.com'

[Code]...

View 4 Replies View Related

Ubuntu Installation :: Reload Windows Xp From Scratch?

Nov 9, 2010

I want to reload windows xp + Ubuntu from scratch, I have no experience with dual-boot installation soNow we start with a blank 250GB harddrive in my Samsung N310 netbook, and then,Plan 1: partition the whole 250GB harddrive into 2 logical disk, namely drive c: and d:, both of them are NTFS, and then format them ==> install windows xp to Drive C: ==> boot from USB drive and run Ubuntu USB installer, and let the installer do its partition for Linux's EXT3Plan2:partition the whole 250GB harddrive into 3 logical disk, namely drive c:, d: and e:, with drive c: and d: being NTFS while drive e: being EXT3 ==> install windows xp to Drive c: ==> install Ubuntu directly to drive E:

The bottom line here is that 1) there must be 2 logical drives (both are NTFS) for windows xp; 2) I want a EXT3 partition where Ubuntu resides. Can any expert kindly advise me which plan mentioned above is more viable or feasible?

View 8 Replies View Related

Ubuntu :: Okular Does Not Reload Pdf On Document Change?

Mar 14, 2011

I'm working on a latex document with a default installation of latex/kile. Strangely enough, upon a document change, okular does not reload and display the changes. This is contrary to all other pdf viewers that I have used. Is there anything that can be done? I noticed that in the okular settings, there is an option to "Reload document on file change." Even though it is enabled, okular does not oblige.

View 1 Replies View Related

Ubuntu :: 10.04 Server - Apache Reload SSL Passphrase

Jul 2, 2010

I have written a shell script which amongst a heap of other stuff creates virtual hosts, and consequently also reloads apache, however my problem is that unless I include a restart in the shell script, the reload is causing the server to stop, yet restarting everytime a new vhost is created is not really an option since it will disrupt the service for other users. I know this is directly to do with the SSL passphrase as simply restarting gets everything running again with no errors.

I have configured mods-available/ssl.conf so the SSLPassPhraseDialog directive uses the passphrase file instead of bulletin, hence the restart can work fine from within the shell script, but obviously reload and force-reload must be running some sort of background process which involves reloading the SSL certs or something?? so my question is can I over ride this and if so what directive / params do I use? Im on ubuntu lucid 10.04 server and apache v2.2.14.

View 8 Replies View Related

General :: Auto Reload Webpage In Conky?

Nov 17, 2010

I have just install conky to my Linux Mint 9 system.I like to know if I can set up conky to auto reload a webpage.FYI, the webpage do not have rss feed therefore I cannot set conky to use rss.

View 10 Replies View Related

General :: What's The Command To Reload .vimrc Without Restarting Vim

Mar 26, 2010

What's the command to reload .vimrc without restarting vim?

View 2 Replies View Related

Server :: How To Reload Sysctl.conf In Centos

Jan 20, 2010

Like in the subject. Does anyone knows how to do it without restart

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved