Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - erm3nda

Pages: [1] 2
PHP / Simple PHP.ini editor confusion
« on: May 14, 2015, 08:10:08 AM »
My confusion is just cleared, but i don't know why didn't adapt that string.
I've been forced  :o to write scaping characters on a tool flagged as "simple".

Last line looks like: ;date.timezone =
I tried date.timezone = "Europe/Madrid" with no lucky.
I tried date.timezone = Europe/Madrid w/o quotes with no lucky.

Finally i guess that your are not using quotes" to avoid file parsing, but, you are scapping ALL chars, and for the MOST common timezones you need to add slash/.

Really do you spect from your users to know about scaping chars?

Solution: scape all special chars prepending with \.
My case: date.timezone = Europe\/Madrid

Once you save it you will see it correctly saved and displayed.

Apache / Nginx reverse proxy script bug at uninstall
« on: May 05, 2015, 07:14:46 AM »
The install script of nginx is working fine.

The uninstaller script has shown:
Nginx does NOT appear to be enabled.
Disabling NGINX Proxy:
Apache is not listening on port 8181, is NGINX not enabled?

I've been forced  :'( to edit httpd.conf manually to set Listen 80 instead 8181.

I've try to open port 8181 as possible focus of the bug but was not. I don't know why didn't work.

« on: April 09, 2015, 04:46:12 AM »
I have problems on install libSSH2.

I've follow some guides here and there and finally comes up to:

Code: [Select]
yum install gcc php-devel php-pear libssh2 libssh2-devel
pecl install -f ssh2
touch /etc/php.d/ssh2.ini
echo > /etc/php.d/ssh2.ini

The pecl install stop was "failed with":
Code: [Select]
Warning: opendir(/tmp/pear/temp/pear-build-rootzlWRuA/install-ssh2-0.12//usr/local): failed to open dir: No such file or directory in /usr/lib64/php/PEAR/Builder.php on line 188
I watch at phpinfo() and the module seems loaded, but didn't recognize the ssh2_connect() comand (
Code: [Select]
Fatal error: Call to undefined function ssh2_connect() in)

The directory /tmp/pear/temp/pear-build-rootzlWRuA/install-ssh2-0.12 is not anymore so i cannot dig for files. I think that must be fixed on the install. If you see carefully, you will see that there's no space on the last paths.

Code: [Select]
Warning: opendir(/tmp/pear/temp/pear-build-rootzlWRuA/install-ssh2-0.12//usr/local)
Actually i don't know how to fix that :(

CentOS 6 Problems / About permisions on the users
« on: April 09, 2015, 03:59:27 AM »
I have tested some new things and getting into troubles.

Usually i used root shell access to main things, but now im developing a web interface using a sub-account with shell grants. I've set the inode to 0, n processes to 100 and n opened files to 300.

Im experiencing a lot of stronge errors.
As example, i run into the ssh sub account then run vncserver. That runs, but when i try to run some X program i got error like "Error forking proccess", including one time with the simple "ls" command.

I used CWP to fully manage users on that VPS, but i need to create/use a NON restricted user. I don't know what does your script setup to accounts or if it's related, but i cannot make run.

I don't wanna to dig into php's ssh dlls, i like to use each account capabilities.

Any suggestion???

CentOS 6 Problems / Error removing user
« on: March 29, 2015, 05:19:38 AM »
Im not sure what is the correct thread for that question. I don't see any "Users" category.

I've try to remove a user and didn't work.
Later i try to remove it from vhost.conf and passwd file, also from users table on the cwp database.

Now i cannot create again the same user.

Wich files/sites do i need to check for?

I don't know why didn't delete it, but my goal is to create again because you cannot edit the domain once is created.

Thank you.

Installation / FULL BACKUP
« on: March 06, 2015, 07:24:54 AM »

I broke a half of my Centos VPS. Cant get back and im on the road to backup full filesystem. Anyway, the good solution is called backup, not reinstall  :'(

Is there any way to FULL backup the CWP server??
I mean at LEAST conf files, home users.

I actually know about backup feature, but that only stores the /home/USER, not the conf files, nor other important files.

I can rebuild from scratch, but i guess is better if i learn to restore.

Any appreciation is OK, you still can help me before break it more  ::)

CSF Firewall / LSF firewall not working at all
« on: January 28, 2015, 08:27:21 AM »
I dont remember when or why, the Firewall has stoped.
Does not start, does not restart, does nothing.

What should i check first??

Softaculous / Custom package
« on: December 30, 2014, 09:12:54 AM »
I tried it with some scripts with success.

If you try to install Prestashop it gives you ONLY 1.6 version, wich is a full shit compared to previous last, Never versions are NEVER stable, so i CANNOT make a Prestashop production webpage with Softaculous.

I have read about create my custom packages on Scriptaculous. I have not make my own yet. No time for that now.

Do someone created or located a custom package with previous versions of Prestashop? I have Googled a bit and found nothing. Little bit impressed, because it was on the catalog. Just dissapeared :(

Maybe i can get older Softaculous releases including it...

DNS Manager / Free centos dns manager contact info
« on: December 26, 2014, 04:56:31 PM »
Im codding a little today, and im confused about the way of post data into that panel.
There's no email nor contact form...

I have to know something after i can finish my work.
Can you provide a email to me? How did you contact them?


Other / Old forum style
« on: December 15, 2014, 06:52:09 AM »
It is possible to go back to old forum skin??

Even if new bootstrap looks cool, it has a too wide skin, so i have to move my eyes too much to read things that was easier using old skin. Also removed unread from forum index, because if i wanna see them i will click unread's link :P

Also, gray letters over another gray background... bad idea.

I made a basic GreaseyMonkey script to condense style up to 60% of screen with a 600px min width. It's not the best solutions, but it works...

If you wanna use it, just create new script, paste that and save:
Code: [Select]
// ==UserScript==
// @name         CWP forum style tweaker
// @namespace    cwpforumstyletweaker
// @version      0.1
// @description  tweaks new cwp forum bootstrap style to condensed
// @author       erm3nda
// @match*
// @grant        none
// @require

// ==/UserScript==
//////start JQuery Compatibility statement//////
this.$ = this.jQuery = jQuery.noConflict(true);
//////end JQuery Compatibility statement//////

// Main tweak, condense all to 60%
$('.wrapper').css('min-width', '600px');

// remove #desno div content and fill div with main table content
$('table.table_list').width('100%'); // default is 75%

// for post view, remove gray background, add a little padding-left
$('div.inner').css('padding-left', '1em');
$('div.inner').css('background', '#fafafa');


Aplications / phpMyAdmin Alias error 500 Internal Server
« on: November 11, 2014, 07:30:12 AM »

Im triying to create an Alias to make work to phpMyAdmin app.
Using IP is OK, so i know an Alias is needed.

Seems easy but is not working. Code i've test with several modifications, none work:

Code: [Select]
Alias /phpmyadmin /usr/local/apache/htdocs/phpMyAdmin

<Directory /usr/local/apache/htdocs/phpMyAdmin>
  Options -Indexes
  AllowOverride All

PHP error log show:
Code: [Select]
[Tue Nov 11 02:12:28 2014] [error] [client] SoftException in Application.cpp:221: File "/usr/local/apache/htdocs/phpMyAdmin/index.php" is not in document root of Vhost "/home/USER/public_html"
[Tue Nov 11 02:12:28 2014] [error] [client] Premature end of script headers: index.php

Is that related to mod_security? suPHP? Didn't digg to much over those two software so im totally nude vs it.

Suggestions? I've checkd that but disable suPHP is not a proper solution.

This problem is present in all alias of apps's i guess, because it affects roundcube and phpmyadmin.

The other way seems to do a trick from .htacess, but im not sure about that way.
Help :P

Other / Softaculous is integrated - Where?
« on: October 05, 2014, 06:16:11 PM »
I read on that Softaculous is integrated.
By integrated i understand included. Don't?

If not, how can i include it?


FTP / Create new accounts from cwp
« on: October 05, 2014, 05:08:29 PM »
This looks like a dummy question, but...

How do i create a new FTP account?
I need create a lot of different ftp accounts under same user/domain.


New Modules / Where to store data/settings
« on: September 18, 2014, 05:20:58 PM »
Where do i should put the data or the settings of my module.

Because the module uses external user autentication, i need to allow user to store the credentials.
A cool site is database, but i dont figure out on what table do i need to store.

Do i need to create a new table?
Can i use settings table?


Information / Outdated info over mysql conection error cwp panel
« on: September 13, 2014, 08:28:48 AM »
When you play/change/lost your mysql password, a message is displayed:

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/admin/include/db_conn.php and /root/.my.cnf

The file db_conn.php is located in /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php in my case.

I have experienced problems with that, in example i changed root password and NO dabases where listed. The rest of webpanel remain working. Now i set again all passwords and is working fine :D


Pages: [1] 2