Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Sevarf2 last won the day on December 10 2013

Sevarf2 had the most liked content!

Community Reputation

112 Excellent

About Sevarf2

  • Rank
    Hero Member
  • Birthday 02/02/1981

Profile Information

  • Gender
  • Location
    Romania / Italy

Contact Methods

  • Skype

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. ouch, this one I missed, thanks Adrian
  2. Hello guys I've been searching for a way to login users without password (after they login with facebook button), I've found some api functions that seem to be working but I still have some issue. What I do is: $checkUser = $users->get("login_facebook_id=$uid"); if($checkUser->id){ $users->setCurrentUser($checkUser); $user = $users->getCurrentUser(); $session->_user_id = $user->id; $session->redirect("/",false); } The code looks working because after setting the session the current $user->id returns the user I found, but after the redirect $user id back to guest (40)...any idea why ? Thanks
  3. I tried starting from something like this with no luck
  4. I really don't know, but my site now is handling millions of requests per day without any problem since the switch...so something is there but I'm no DB expert...and I have a very powerful machine, 32core 256GB RAM, ssd etc...no apache or cpanel or other slow stuff...
  5. I'm having some trouble on trying to change/remove a label before a checkbox, since the text is already displayed on the side it's useless to have again the label on top with the same text...any idea on how to hook the label render? thanks
  6. well, I solved just changing tables from myIsam to InnoDB, now everything is fast even if that table is huge
  7. Any update on this great module? Can't install on PW > 3 I get this error: Cannot declare class ComposerAutoloaderInit700022e1c519b28dbab39fa2456e3e43, because the name is already in use (line 5 of /home/nginx/domains/public/site/assets/cache/FileCompiler/vendor/composer/autoload.php)
  8. Hello, I always enabled the session handler DB on my sites and it worked pretty well, but right now I'm facing a big issue because it's slowing down the server. I have a dedicated server with 32 core and 192MB RAM so it's a good beast but since the traffic on the site is huge the session table is up to millions records each day. I also setup the config like so ini_set('session.gc_probability', 1); ini_set("session.gc_divisor", 100); still the amount of records is impressive and the queries deleting the sessions are constantly executing and they are slow...any idea how to optimize this? thanks
  9. Hello guys, I'm trying to setup a textarea allowing extra content for the tag <A> but it's not working, i just need to be able to add "class" to the tag, so I just added this to the ckeditor input settings, "extra allowed content" a[href,class,rel] but it's ignored...any idea? using PW 3.0.42
  10. Hello, I just copied a website on a new domain on the same VPS as I made hundreds of times, but this time I get this error regarding PDO support Fatal error: Exception: Required PDO class (database) not found - please add PDO support to your PHP. (in /home/public_html/wire/core/ProcessWire.php line 260) #0 /home/public_html/wire/core/ProcessWire.php(118): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 /home/public_html/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} in /home/public_html/index.php on line 64
  11. Hi, is there a way to throw a 404 if the page number doesn't exist? I have 77 pages but if i type the 78 I can still see the page (empty of course) and i think google is messing up in some way indexing those pages, even if there are no links to them.
  12. Hello, some images on my website get error (too many redirects) but just for the variation version on ssl. so the image /site/assets/files/0/02/07/557/xxx.jpg is ok but /site/assets/files/0/02/07/557/xxx.380x180n.jpg is not displayed I've recently moved my domain on ssl so right now every url redirects to https and almost all images are ok, but some of them get this error.....any idea?
  13. yes, sort=parent was the missing point. thanks
  • Create New...